aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hardinfo/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo/util.c b/hardinfo/util.c
index 2d0543be..49def403 100644
--- a/hardinfo/util.c
+++ b/hardinfo/util.c
@@ -132,7 +132,7 @@ inline char *strend(gchar * str, gchar chr)
return NULL;
char *p;
- if ((p = strchr(str, chr)))
+ if ((p = g_utf8_strchr(str, -1, chr)))
*p = 0;
return str;