mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
cf49cb3c5c
commit
c3ad5bdb84
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue