diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-03-03 01:23:49 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-03-03 14:53:16 -0800 |
commit | 5ce2087ed0eb424e0889bdc9102727f65d2ecdde (patch) | |
tree | 8a20c8e22a0a387a4c594e61004ab86c5456f8b8 /drivers/s390 | |
parent | cad226b8a71f969ad05137e43b48c9e6059a0b9f (diff) | |
download | linux-5ce2087ed0eb424e0889bdc9102727f65d2ecdde.tar.bz2 |
Fix default compose table initialization
Oddly enough, unsigned int c = '\300'; puts a "negative" value in c, not
0300... This fixes the default unicode compose table by using integers
instead of character constants.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/char/defkeymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/defkeymap.c b/drivers/s390/char/defkeymap.c index 389346cda6c8..9692d6a205ef 100644 --- a/drivers/s390/char/defkeymap.c +++ b/drivers/s390/char/defkeymap.c @@ -151,8 +151,8 @@ char *func_table[MAX_NR_FUNC] = { }; struct kbdiacruc accent_table[MAX_DIACR] = { - {'^', 'c', '\003'}, {'^', 'd', '\004'}, - {'^', 'z', '\032'}, {'^', '\012', '\000'}, + {'^', 'c', 0003}, {'^', 'd', 0004}, + {'^', 'z', 0032}, {'^', 0012', 0000}, }; unsigned int accent_table_size = 4; |