Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
justanotheranonymoususer committed May 28, 2015
1 parent 249fbb5 commit a007ada
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fixlayouts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void ConvertSelectedTextInActiveWindow(HKL hklSource, HKL hklTarget)
// Converts a character from one keyboard layout to another
WCHAR LayoutConvertChar(WCHAR ch, HKL hklSource, HKL hklTarget)
{
// special handling for some ambivalent characters in hebrew layout
// special handling for some ambivalent characters in Hebrew layout
if(LOWORD(hklSource) == MAKELANGID(LANG_HEBREW, SUBLANG_HEBREW_ISRAEL) &&
LOWORD(hklTarget) == MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US))
{
Expand Down
4 changes: 2 additions & 2 deletions recaps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ HKL SwitchLayout()
}

///////////////////////////////////////////////////////////////////////////////
// Selects the entire current line and converts it to the current kwyboard layout
// Selects the entire current line and converts it to the current keyboard layout
void SwitchAndConvert(void*)
{
SendKeyCombo(VK_CONTROL, 'A', TRUE);
Expand Down Expand Up @@ -440,7 +440,7 @@ LRESULT CALLBACK LowLevelHookProc(int nCode, WPARAM wParam, LPARAM lParam)
else
{
// We start SwitchLayoutAndConvertSelected in another thread since it simulates
// keystrokes to copy and paste the teset which call back into this hook.
// keystrokes to copy and paste the test which call back into this hook.
// That isn't good..
_beginthread(SwitchAndConvert, 0, NULL);
return 1; // prevent windows from handling the keystroke
Expand Down

0 comments on commit a007ada

Please sign in to comment.