[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 01/19] console: Clean up confusing indentation in co
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 01/19] console: Clean up confusing indentation in console_putchar() |
Date: |
Tue, 6 Dec 2011 11:00:56 +0000 |
From: Markus Armbruster <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
console.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/console.c b/console.c
index f6fe441..374fcba 100644
--- a/console.c
+++ b/console.c
@@ -1009,16 +1009,16 @@ static void console_putchar(TextConsole *s, int ch)
console_clear_xy(s, x, y);
}
}
- break;
+ break;
}
case 'K':
switch (s->esc_params[0]) {
case 0:
- /* clear to eol */
- for(x = s->x; x < s->width; x++) {
+ /* clear to eol */
+ for(x = s->x; x < s->width; x++) {
console_clear_xy(s, x, s->y);
- }
- break;
+ }
+ break;
case 1:
/* clear from beginning of line */
for (x = 0; x <= s->x; x++) {
@@ -1030,12 +1030,12 @@ static void console_putchar(TextConsole *s, int ch)
for(x = 0; x < s->width; x++) {
console_clear_xy(s, x, s->y);
}
- break;
- }
+ break;
+ }
break;
case 'm':
- console_handle_escape(s);
- break;
+ console_handle_escape(s);
+ break;
case 'n':
/* report cursor position */
/* TODO: send ESC[row;colR */
--
1.7.7.3
- [Qemu-devel] [PATCH 12/19] Convert source files to UTF-8 encoding, (continued)
- [Qemu-devel] [PATCH 12/19] Convert source files to UTF-8 encoding, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 14/19] linux-user/cpu-uname.c : Convert to UTF-8, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 16/19] Rename get_tls to tls_var, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 15/19] linux-user/arm/nwfpe/fpo pcode.h: Fix non-UTF-8 characters, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 17/19] linux-user/syscall.c: Don't skip stracing for fcntl64 failure case, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 18/19] memory: minor documentation fixes/enhancements, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 19/19] mips_malta: resolve endless loop when loading bios, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 01/19] console: Clean up confusing indentation in console_putchar(),
Stefan Hajnoczi <=
- Re: [Qemu-devel] [PULL 00/19] Trivial patches for 3 to 6 December 2011, Stefan Hajnoczi, 2011/12/14