From: Ran Benita Date: Thu, 4 Oct 2012 09:48:56 +0000 (+0200) Subject: keysym-utf: make keysym->unicode table a bit smaller X-Git-Tag: xkbcommon-0.2.0~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=239a5be10e7bd248e64d4da62c192c01bd93bd60;p=platform%2Fupstream%2Flibxkbcommon.git keysym-utf: make keysym->unicode table a bit smaller Saves a few kbytes, and unlikely to change. Signed-off-by: Ran Benita --- diff --git a/src/keysym-utf.c b/src/keysym-utf.c index 8bf04f9..b1f6f15 100644 --- a/src/keysym-utf.c +++ b/src/keysym-utf.c @@ -38,8 +38,9 @@ #include "xkbcommon/xkbcommon.h" #include "utils.h" +/* We don't use the uint32_t types here, to save some space. */ struct codepair { - xkb_keysym_t keysym; + uint16_t keysym; uint16_t ucs; };