mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 20:35:49 +01:00
Upper half of byte is >> 4, not >> 8. Found by Kjartan Maraas via sparse
2008-10-10 Alexander Larsson <alexl@redhat.com> * gfileattribute.c (escape_byte_string): Upper half of byte is >> 4, not >> 8. Found by Kjartan Maraas via sparse svn path=/trunk/; revision=7590
This commit is contained in:
parent
a8c88cae76
commit
84eabd3d59
@ -1,3 +1,9 @@
|
|||||||
|
2008-10-10 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gfileattribute.c (escape_byte_string):
|
||||||
|
Upper half of byte is >> 4, not >> 8.
|
||||||
|
Found by Kjartan Maraas via sparse
|
||||||
|
|
||||||
2008-10-10 Matthias Clasen <mclasen@redhat.com>
|
2008-10-10 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Bug 555711 – Wrong fallback order of mimetype icons
|
Bug 555711 – Wrong fallback order of mimetype icons
|
||||||
|
@ -384,7 +384,7 @@ escape_byte_string (const char *str)
|
|||||||
{
|
{
|
||||||
*p++ = '\\';
|
*p++ = '\\';
|
||||||
*p++ = 'x';
|
*p++ = 'x';
|
||||||
*p++ = hex_digits[(c >> 8) & 0xf];
|
*p++ = hex_digits[(c >> 4) & 0xf];
|
||||||
*p++ = hex_digits[c & 0xf];
|
*p++ = hex_digits[c & 0xf];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user