Pad-minus key didn't work in typemode transform().
Very easy, just flipping an && with || :)
This commit is contained in:
2004-12-07 18:06:13 +00:00
parent 0e7ac575c0
commit bc76f088bb

View File

@@ -6186,8 +6186,8 @@ void transform(int mode)
event= extern_qread(&val);
if(val) {
/* no-numpad option likes minus for numeric input better */
if ((U.flag & USER_NONUMPAD) && typemode && event==PADMINUS) event = MINUSKEY;
/* no-numpad option OR typemode remaps padminus */
if (((U.flag & USER_NONUMPAD) || typemode) && event==PADMINUS) event = MINUSKEY;
switch(event) {
case ESCKEY: