Skip to content
Snippets Groups Projects
Commit daca43ed authored by deuce's avatar deuce
Browse files

The inevitable "Fix bug in last commit"

parent 97447a03
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,7 @@ int win32_getchcode(WORD code, DWORD state)
if(state & (RIGHT_CTRL_PRESSED|LEFT_CTRL_PRESSED))
return(keyval[i].CTRL);
if((state & (CAPSLOCK_ON)) && isalpha(keyval[i].Key)) {
if(!(state & (SHIFT_PRESSED))
if(!(state & SHIFT_PRESSED))
return(keyval[i].Shift);
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment