diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-14 09:30:41 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-14 09:30:41 +0000 |
commit | 3891b37010b1f5896e4daa0af6b85728bba23287 (patch) | |
tree | b0fce802c7a55a1877e53a9388511e6d46294da6 /block-vvfat.c | |
parent | SVN property and .gitignore fixes (Stuart Brady) (diff) | |
download | qemu-kvm-3891b37010b1f5896e4daa0af6b85728bba23287.tar.gz qemu-kvm-3891b37010b1f5896e4daa0af6b85728bba23287.tar.bz2 qemu-kvm-3891b37010b1f5896e4daa0af6b85728bba23287.zip |
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
Diffstat (limited to 'block-vvfat.c')
-rw-r--r-- | block-vvfat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block-vvfat.c b/block-vvfat.c index 57763b377..1ac4472ae 100644 --- a/block-vvfat.c +++ b/block-vvfat.c @@ -1249,7 +1249,7 @@ static void print_direntry(const direntry_t* direntry) unsigned char* c=(unsigned char*)direntry; int i; for(i=1;i<11 && c[i] && c[i]!=0xff;i+=2) -#define ADD_CHAR(c) {buffer[j] = (c); if (buffer[j] < ' ') buffer[j] = '°'; j++;} +#define ADD_CHAR(c) {buffer[j] = (c); if (buffer[j] < ' ') buffer[j] = 0xb0; j++;} ADD_CHAR(c[i]); for(i=14;i<26 && c[i] && c[i]!=0xff;i+=2) ADD_CHAR(c[i]); |