Commit 16bc6333 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

fixed stupid bug.

2003-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimputils.c (gimp_utf8_strtrim): fixed stupid bug.
parent 23afa85b
2003-02-08 Sven Neumann <sven@gimp.org>
* libgimpbase/gimputils.c (gimp_utf8_strtrim): fixed stupid bug.
2003-02-08 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpselectioneditor.c: changed include to follow
......
......@@ -56,7 +56,7 @@ gimp_utf8_strtrim (const gchar *str,
gint chars = 0;
gunichar unichar;
for (p= str; p; p = g_utf8_next_char (p))
for (p = str; *p; p = g_utf8_next_char (p))
{
if (++chars > max_chars)
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment