projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[eglib] Move definition of GPid to eglib-config.h
[mono.git]
/
eglib
/
src
/
gutf8.c
diff --git
a/eglib/src/gutf8.c
b/eglib/src/gutf8.c
index 65ffbcd7fa4c13ee345ebc4e39954f4b39eedc91..fed6dd753ca6921ff34a30fa99b43c67906853e1 100644
(file)
--- a/
eglib/src/gutf8.c
+++ b/
eglib/src/gutf8.c
@@
-71,7
+71,7
@@
utf8_to_utf16_len (const gchar *str, glong len, glong *items_read, GError **erro
ret = 0;
/* Common case */
- for (in_pos = 0; in_pos < len && str [in_pos] < 0x80; in_pos++)
+ for (in_pos = 0; in_pos < len &&
(guchar)
str [in_pos] < 0x80; in_pos++)
ret ++;
if (in_pos == len) {