aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/undo.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2023-04-20 13:23:39 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2023-04-20 13:23:39 +0300
commit5470fc3a63ff1cb15d7d5128e5c9d682dda28341 (patch)
tree4b83027723d9282654ee1df31d1caf5a0baf074e /src/undo.h
parent54850d4c762f1c44f2dad34b0d01b33a4d881e7f (diff)
downloadsciteco-5470fc3a63ff1cb15d7d5128e5c9d682dda28341.tar.gz
Curses: do not allow typing any non-ASCII characters - fixes crashes on PDCurses/WinGUI
* we can neither display, nor parse Unicode characters properly, so this does not worsen anything * makes it harder to confuse the parser as long as we do not support Unicode. * behaves like on Gtk: pressing a non-ASCII char will simply be ignored * Most importantly, this fixes crashes on PDCurses/WinGUI. It apparently couldn't handle the negative integers that resulted from passing a value >= 0x80 <= 0xFF into gchar (which is a signed integer). Changing everything into guchar is not worth the effort - we need full Unicode support anyway.
Diffstat (limited to 'src/undo.h')
0 files changed, 0 insertions, 0 deletions