- added line as provided by Bill Baxter, which makes option "no numpad"

accept the minuskey for numerical input while transform().
This commit is contained in:
Ton Roosendaal 2004-01-26 15:42:54 +00:00
parent d9ab27eda2
commit a5f2e598a2

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