AfterStep 1.5beta5 have a bug in I18N code.
=?EUC-KR?B?sei6tML5?= (redhands@linux.sarang.net)
Mon, 23 Nov 1998 04:02:35 +0900
--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Hi, sorry my foolish English.
I find a bug in AfterStep 1.5beta5 I18N code.
attached patch file in this mail.
Have a nice day :>
--
=-- Run on freeway with L/I/N/U/X :)
==-- Invite you to my world which is www.linux.sarang.net...
===-- My pgp public Key? finger redhands@linux.sarang.net :)
--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="AfterStep-1.5beta5-i18n_bug.patch"
--- AfterStep-1.5beta5/src/afterstep.orig/add_window.c Mon Nov 23 03:49:18 1998
+++ AfterStep-1.5beta5/src/afterstep/add_window.c Mon Nov 23 03:49:21 1998
@@ -520,7 +520,7 @@
tmp_win->icon_name = (char *) text_prop.value;
else
{
- if (XmbTextPropertyToTextList (dpy, &text_prop, &list, &num) > Success && num > 0 && *list)
+ if (XmbTextPropertyToTextList (dpy, &text_prop, &list, &num) >= Success && num > 0 && *list)
tmp_win->icon_name = *list;
else
tmp_win->icon_name = (char *) text_prop.value;
--fUYQa+Pmc3FrFX/N--