new file
2002-02-27 Hans Breuer <hans@breuer.org> * demos/gtk-demo/makefile.msc.in : new file * gdk-pixbuf/gtk-pixbuf.rc.in : new file to include version resource * gdk-pixbuf/makefile.msc : create and use gdk-pixbuf.res * gdk/win32/gdkkeys-win32.c : handle undefined LANG_URDU, (gdk_keyval_name) : fix endless looping * gtk/gtkfilesel.c : translate_win32_path() static * gtk/queryimmodules : print_escaped(), query_module() static * gtk/makefile.msc.in : added gtkkeyhash, build gtk-win32.res * gtk/stock-icons/makefile.msc : regenerated from directory listing (almost all filenames changed)
This commit is contained in:
@ -299,7 +299,9 @@ gdk_keymap_get_direction (GdkKeymap *keymap)
|
||||
case LANG_HEBREW:
|
||||
case LANG_ARABIC:
|
||||
/* Not 100% sure about these */
|
||||
#ifdef LANG_URDU
|
||||
case LANG_URDU:
|
||||
#endif
|
||||
case LANG_FARSI:
|
||||
/* Others? */
|
||||
return PANGO_DIRECTION_RTL;
|
||||
@ -1971,11 +1973,9 @@ gdk_keyval_name (guint keyval)
|
||||
|
||||
if (found != NULL)
|
||||
{
|
||||
while (found > gdk_keys_by_keyval)
|
||||
{
|
||||
if ((found - 1)->keyval == keyval)
|
||||
keyval--;
|
||||
}
|
||||
while ((found > gdk_keys_by_keyval) &&
|
||||
((found - 1)->keyval == keyval))
|
||||
found--;
|
||||
|
||||
return (gchar *) found->name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user