[Github-comments] [geany] Locale/utf8 fixes (#547)

Jiří Techet notifications at xxxxx
Sun Dec 13 16:58:13 UTC 2015


> @@ -556,7 +556,7 @@ gchar *utils_str_middle_truncate(const gchar *string, guint truncate_length)
>  
>  	length = strlen(string);
>  
> -	g_return_val_if_fail(g_utf8_validate(string, length, NULL), NULL);
> +	g_return_val_if_fail(g_utf8_validate(string, length, NULL), g_strdup(string));

Of course! Thanks for noticing, will fix.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/547/files#r47447198
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151213/4e2aa075/attachment.html>


More information about the Github-comments mailing list