Add short comment.
authorNathan Letwory <nathan@letworyinteractive.com>
Mon, 18 Oct 2010 00:42:18 +0000 (00:42 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Mon, 18 Oct 2010 00:42:18 +0000 (00:42 +0000)
intern/ghost/intern/GHOST_SystemWin32.cpp

index 1f1fc65adc4b4ec38d2881c43522a878e5947fed..da333ce4f083c45cb49df49f0759c9a420b380a4 100644 (file)
@@ -144,6 +144,7 @@ GHOST_SystemWin32::GHOST_SystemWin32()
        GHOST_ASSERT(m_displayManager, "GHOST_SystemWin32::GHOST_SystemWin32(): m_displayManager==0\n");
        m_displayManager->initialize();
        
+       // Check if current keyboard layout uses AltGr
        this->keyboardAltGr();
        
        // Require COM for GHOST_DropTargetWin32 created in GHOST_WindowWin32.
@@ -646,7 +647,7 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
                GHOST_WindowWin32* window = (GHOST_WindowWin32*)::GetWindowLong(hwnd, GWL_USERDATA);
                if (window) {
                        switch (msg) {
-                               // we need to check if new key layout has altgr
+                               // we need to check if new key layout has AltGr
                                case WM_INPUTLANGCHANGE:
                                        system->keyboardAltGr();
                                        break;