From 799ef2da6b4a4284e529105ddbeec62475782e34 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 4 Apr 2016 13:43:36 +0200 Subject: [PATCH] Sending capital Latin letters as lowercase issue fixed --- ZRCola/zrcolafrm.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ZRCola/zrcolafrm.cpp b/ZRCola/zrcolafrm.cpp index 0e21a1e..f761edb 100644 --- a/ZRCola/zrcolafrm.cpp +++ b/ZRCola/zrcolafrm.cpp @@ -146,14 +146,6 @@ void wxZRColaFrame::DoSend(const wxString& str) // Enter (Return) key is sent as CR virtual key code. inp.ki.wVk = VK_RETURN; inp.ki.wScan = L'\r'; - } else if (L'a' <= c && c <= L'z') { - // Small letters have the same virtual key code as their uppercase counterparts. - inp.ki.wVk = (WORD)c + L'A' - L'a'; - inp.ki.wScan = c; - } else if (L'A' <= c && c <= L'Z' || L'0' <= c && c <= L'0' || c == L' ') { - // Letters and symbols with matching virtual key codes. - inp.ki.wVk = c; - inp.ki.wScan = c; } else { inp.ki.wVk = 0; inp.ki.wScan = c;