convert to 4-byte UTF-8 and 32-bit Rune
http://codereview.appspot.com/116075
This commit is contained in:
@@ -193,7 +193,7 @@ winctl(void *arg)
|
||||
Rune *rp, *bp, *up, *kbdr;
|
||||
uint qh;
|
||||
int nr, nb, c, wid, i, npart, initial, lastb;
|
||||
char *s, *t, part[3];
|
||||
char *s, *t, part[UTFmax];
|
||||
Window *w;
|
||||
Mousestate *mp, m;
|
||||
enum { WKey, WMouse, WMouseread, WCtl, WCwrite, WCread, WWread, NWALT };
|
||||
|
||||
Reference in New Issue
Block a user