瀏覽代碼

* Minor typo.

tags/v0.99.beta14
Sam Hocevar sam 18 年之前
父節點
當前提交
cb823dd55b
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      test/event.c

+ 2
- 2
test/event.c 查看文件

@@ -119,12 +119,12 @@ static void print_event(int x, int y, caca_event_t *ev)
break;
case CACA_EVENT_KEY_PRESS:
character = ev->data.key.ch;
cucul_printf(cv, x, y, "CACA_EVENT_KEY_PRESS 0x%02x (%cv)", character,
cucul_printf(cv, x, y, "CACA_EVENT_KEY_PRESS 0x%02x (%c)", character,
(character > 0x1f && character < 0x80) ? character : '?');
break;
case CACA_EVENT_KEY_RELEASE:
character = ev->data.key.ch;
cucul_printf(cv, x, y, "CACA_EVENT_KEY_RELEASE 0x%02x (%cv)", character,
cucul_printf(cv, x, y, "CACA_EVENT_KEY_RELEASE 0x%02x (%c)", character,
(character > 0x1f && character < 0x80) ? character : '?');
break;
case CACA_EVENT_MOUSE_MOTION:


Loading…
取消
儲存