Bugfix #1981
Pad-minus key didn't work in typemode transform(). Very easy, just flipping an && with || :)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user