Index: src_plugins/lib_gtk_common/util_str.c =================================================================== --- src_plugins/lib_gtk_common/util_str.c (revision 6669) +++ src_plugins/lib_gtk_common/util_str.c (revision 6670) @@ -47,12 +47,9 @@ const gchar *pcb_str_strip_left(const gchar * s) { - const gchar *r = ""; - - if (s) { - r = s; - while (*r == ' ' || *r == '\t') - ++r; + if (s != NULL) { + while ((*s == ' ') || (*s == '\t')) + s++; } - return r; + return s; }