]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/window.c
Remove a redundant ?: in the nethack_keypad code.
[PuTTY.git] / windows / window.c
index fbbf4ce3f32c25547948f5a8207d81697e83531b..004eb4f827eeccaf6ebc3bf1da8bb5f499c94318 100644 (file)
@@ -4249,7 +4249,7 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
                *p++ = "hH\010\010"[shift_state & 3];
                return p - output;
              case VK_NUMPAD5:
-               *p++ = shift_state ? '.' : '.';
+               *p++ = '.';
                return p - output;
              case VK_NUMPAD6:
                *p++ = "lL\014\014"[shift_state & 3];