keyboard: Don't use next_utf8_char() to go back where we came from
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 15 Aug 2013 18:37:09 +0000 (11:37 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 15 Aug 2013 18:37:14 +0000 (11:37 -0700)
commit20ffdffc03deaf9eccb23b24d042b089e75ac0a5
treebbf580b7509c5911ab57d2fa1eae55e28ea6f072
parent0a8461b95e470b9b413cb253f90e088c500e5a44
keyboard: Don't use next_utf8_char() to go back where we came from

We go one utf8 char back and then one forward.  Just remember the original
position instead, which also avoids a warning about potentially
dereferencing a NULL return value from next_utf8_char().
clients/keyboard.c