Commit c3ad5bdb authored by Michael Schumacher's avatar Michael Schumacher Committed by Michael Schumacher

added a fix for the script-fu crash in chinese (and maybe other) locales.

2005-12-12  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/script-fu/siod/slib.c: added a fix for the script-fu
	crash in chinese (and maybe other) locales. Applied to both
	branches. Fixes bug #163212.
parent cf49cb3c
2005-12-12 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/script-fu/siod/slib.c: added a fix for the script-fu
crash in chinese (and maybe other) locales. Applied to both
branches. Fixes bug #163212.
2005-12-11 Michael Natterer <mitch@gimp.org>
* app/core/gimpstrokedesc.c (gimp_stroke_desc_new): fall back to
......
......@@ -1131,7 +1131,7 @@ gen_intern (char *name, long copyp)
n = obarray_dim;
cname = name;
while ((c = *cname++))
hash = ((hash * 17) ^ c) % n;
hash = ((hash * 17) ^ (unsigned char)c) % n;
sl = obarray[hash];
}
else
......
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