ref: 65e8a26e1dac4a0f589f615126ad87a92c9c11ab
parent: 4fec34471f0587c0eaa62e0cc580b7bfc6457f61
author: Jacob Moody <moody@posixcafe.org>
date: Thu Oct 13 11:58:37 EDT 2022
gui-wl: correct weird single line comment The use of \\ in the comment caused the comment to span two lines and treat the Henkan key as a Hiragana key.
--- a/gui-wl/wl-cb.c
+++ b/gui-wl/wl-cb.c
@@ -282,16 +282,16 @@
/* Japanese layout; see /sys/lib/kbmap/jp */
case XKB_KEY_Muhenkan:
- utf32 = 0x0c; // ^l
+ utf32 = 0x0c; /* ^l */
break;
case XKB_KEY_Henkan:
- utf32 = 0x1c; // ^\\
+ utf32 = 0x1c; /* ^\ */
break;
case XKB_KEY_Hiragana:
- utf32 = 0x0e; // ^n
+ utf32 = 0x0e; /* ^n */
break;
case XKB_KEY_Katakana:
- utf32 = 0x0b; // ^k
+ utf32 = 0x0b; /* ^k */
break;
case XKB_KEY_Hiragana_Katakana:
/* board may not maintain kana state */