Sfoglia il codice sorgente

* Fix Delete key with X11 driver

tags/v0.99.beta17
Pascal Terjan pterjan 15 anni fa
parent
commit
ad76a4e717
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      caca/driver/x11.c

+ 1
- 1
caca/driver/x11.c Vedi File

@@ -514,7 +514,7 @@ static int x11_get_event(caca_display_t *dp, caca_privevent_t *ev)
if(Xutf8LookupString(dp->drv.p->ic, &xevent.xkey, ev->data.key.utf8, 8, NULL, NULL))
{
ev->data.key.utf32 = caca_utf8_to_utf32(ev->data.key.utf8, NULL);
if(ev->data.key.utf32 < 0x7f)
if(ev->data.key.utf32 <= 0x7f)
{
ev->data.key.ch = ev->data.key.utf32;
} else {


||||||
x
 
000:0
Caricamento…
Annulla
Salva