projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix cast issue
[claws.git]
/
src
/
common
/
utils.c
diff --git
a/src/common/utils.c
b/src/common/utils.c
index 5e24bc649a3604032b603ce15295a23830c02662..236a924a118daf330b8a0f03eccacd82b63478ef 100644
(file)
--- a/
src/common/utils.c
+++ b/
src/common/utils.c
@@
-1005,7
+1005,7
@@
void unfold_line(gchar *str)
while (*ch != 0) {
c = g_utf8_get_char_validated(ch, -1);
- if (c
< 0
) {
+ if (c
== (gunichar)-1 || c == (gunichar)-2
) {
/* non-unicode byte, move past it */
ch++;
continue;