projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Trim trailing white spaces on empty lines.
[geeqie.git]
/
src
/
misc.c
diff --git
a/src/misc.c
b/src/misc.c
index
c4bf508
..
6f244ec
100644
(file)
--- a/
src/misc.c
+++ b/
src/misc.c
@@
-22,7
+22,7
@@
gchar *utf8_validate_or_convert(const gchar *text)
gint len;
if (!text) return NULL;
-
+
len = strlen(text);
if (!g_utf8_validate(text, len, NULL))
return g_convert(text, len, "UTF-8", "ISO-8859-1", NULL, NULL, NULL);
@@
-160,7
+160,7
@@
int runcmd(gchar *cmd)
DEBUG_1("%s : %d\n", msg, retval);
}
-
+
return retval;
#endif
}