diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2006-10-08 09:48:09 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2006-10-08 09:48:09 +0400 |
commit | fe59c3413be101fc9c5addeff7e4c20b783905be (patch) | |
tree | bbc3a6770f684c84ef75d9d6ce7e98efb62c626b /eglib | |
parent | 33f8d093b3f9ca2c02ca351d2cae63b559c7c5dd (diff) |
just in case sign extension kicks in
svn path=/trunk/mono/; revision=66396
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/src/gstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eglib/src/gstr.c b/eglib/src/gstr.c index d4493a5c42b..08944ef0a2d 100644 --- a/eglib/src/gstr.c +++ b/eglib/src/gstr.c @@ -609,7 +609,7 @@ g_strescape (const gchar *source, const gchar *exceptions) if (op != 1) { *res_ptr++ = op; } else { - *res_ptr++ = '0' + ((c >> 6) & 7); + *res_ptr++ = '0' + ((c >> 6) & 3); *res_ptr++ = '0' + ((c >> 3) & 7); *res_ptr++ = '0' + (c & 7); } |