Re: [Qemu-devel] [PATCH] ui/input.c: replace magic numbers with macros

2013-05-23 Thread Luiz Capitulino
On Thu, 16 May 2013 13:19:47 +0800 Amos Kong ak...@redhat.com wrote: It's clearer to use defined macros than magic numbers. Signed-off-by: Amos Kong ak...@redhat.com Applied to the qmp branch, thanks. --- ui/input.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-)

Re: [Qemu-devel] [PATCH] ui/input.c: replace magic numbers with macros

2013-05-16 Thread Lei Li
On 05/16/2013 01:19 PM, Amos Kong wrote: It's clearer to use defined macros than magic numbers. Signed-off-by: Amos Kong ak...@redhat.com --- ui/input.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ui/input.c b/ui/input.c index 8ca1a03..92c44ca 100644 ---

[Qemu-devel] [PATCH] ui/input.c: replace magic numbers with macros

2013-05-15 Thread Amos Kong
It's clearer to use defined macros than magic numbers. Signed-off-by: Amos Kong ak...@redhat.com --- ui/input.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ui/input.c b/ui/input.c index 8ca1a03..92c44ca 100644 --- a/ui/input.c +++ b/ui/input.c @@ -28,6 +28,7

[Qemu-devel] [PATCH] ui/input.c: replace magic numbers by macros

2013-04-22 Thread Amos Kong
Signed-off-by: Amos Kong ak...@redhat.com --- It's based on http://lists.nongnu.org/archive/html/qemu-devel/2013-04/msg03822.html --- ui/input.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ui/input.c b/ui/input.c index 143c421..fac5d6d 100644 ---