Re: Does GDKEventKey->key_press return an utf8 character?



Mikael Hermansson <mikeh bahnhof se> writes: 
> I know if (ev->length) will fixit but still I want to know if it is a
> bug...
> 

The code is on crack, should be:

 g_unichar_isalnum (gdk_keyval_to_unicode (event->keyval))

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]