Commit 3891b37010b1f5896e4daa0af6b85728bba23287
1 parent
84bc5b9d
Use a hex value instead of possibly ambiguous 8 bit character
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6023 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
block-vvfat.c
... | ... | @@ -1249,7 +1249,7 @@ static void print_direntry(const direntry_t* direntry) |
1249 | 1249 | unsigned char* c=(unsigned char*)direntry; |
1250 | 1250 | int i; |
1251 | 1251 | for(i=1;i<11 && c[i] && c[i]!=0xff;i+=2) |
1252 | -#define ADD_CHAR(c) {buffer[j] = (c); if (buffer[j] < ' ') buffer[j] = '°'; j++;} | |
1252 | +#define ADD_CHAR(c) {buffer[j] = (c); if (buffer[j] < ' ') buffer[j] = 0xb0; j++;} | |
1253 | 1253 | ADD_CHAR(c[i]); |
1254 | 1254 | for(i=14;i<26 && c[i] && c[i]!=0xff;i+=2) |
1255 | 1255 | ADD_CHAR(c[i]); | ... | ... |