qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character
@ 2008-12-14  9:30 Blue Swirl
  2008-12-14 10:34 ` Johannes Schindelin
  0 siblings, 1 reply; 12+ messages in thread
From: Blue Swirl @ 2008-12-14  9:30 UTC (permalink / raw)
  To: qemu-devel

Revision: 6023
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6023
Author:   blueswir1
Date:     2008-12-14 09:30:41 +0000 (Sun, 14 Dec 2008)

Log Message:
-----------
Use a hex value instead of possibly ambiguous 8 bit character

Modified Paths:
--------------
    trunk/block-vvfat.c

Modified: trunk/block-vvfat.c
===================================================================
--- trunk/block-vvfat.c	2008-12-14 09:22:41 UTC (rev 6022)
+++ trunk/block-vvfat.c	2008-12-14 09:30:41 UTC (rev 6023)
@@ -1249,7 +1249,7 @@
 	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] = '\xB0'; 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]);

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-12-14 17:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-14  9:30 [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character Blue Swirl
2008-12-14 10:34 ` Johannes Schindelin
2008-12-14 10:41   ` Blue Swirl
2008-12-14 10:54     ` Johannes Schindelin
2008-12-14 11:11       ` Andreas Schwab
2008-12-14 11:23         ` Johannes Schindelin
2008-12-14 11:45           ` Erik de Castro Lopo
2008-12-14 12:00             ` Johannes Schindelin
2008-12-14 17:16               ` Jamie Lokier
2008-12-14 16:10             ` M. Warner Losh
2008-12-14 12:15           ` Blue Swirl
2008-12-14 12:09       ` Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).