From 5f4a761ce07fc7914577757744fb72b49b954d8e Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 18 Apr 2006 15:12:12 +0000 Subject: [PATCH] * Cosmetic changes. --- tools/makefont.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/makefont.c b/tools/makefont.c index 674f8f4..b97e726 100644 --- a/tools/makefont.c +++ b/tools/makefont.c @@ -284,23 +284,23 @@ static int printf_hex(char const *fmt, uint8_t *data, int bytes) while(bytes--) { - uint8_t c = *data++; - if(c == '\\' || c == '"') + uint8_t ch = *data++; + if(ch == '\\' || ch == '"') { parser -= rewind; - parser += sprintf(parser, "\\%c", c); + parser += sprintf(parser, "\\%c", ch); rewind = 0; } - else if(c >= 0x20 && c < 0x7f) + else if(ch >= 0x20 && ch < 0x7f) { - parser += sprintf(parser, "%c", c); + parser += sprintf(parser, "%c", ch); rewind = 0; } else { parser -= rewind; - parser += sprintf(parser, "\\%.03o", c); - rewind = c ? 0 : 2; + parser += sprintf(parser, "\\%.03o", ch); + rewind = ch ? 0 : 2; } }