OSDN Git Service

Remove invocations of obsolete Enable3dControls and Enable3dControlsStatic.
authorKazuhiro Fujieda <fujieda@users.sourceforge.jp>
Fri, 24 Jun 2011 13:33:42 +0000 (22:33 +0900)
committerKazuhiro Fujieda <fujieda@users.sourceforge.jp>
Sun, 26 Jun 2011 15:40:07 +0000 (00:40 +0900)
Remove dead code.

xkeymacs/xkeymacs.cpp
xkeymacsdll/Commands.cpp

index f4c04bd..20979c7 100644 (file)
@@ -54,12 +54,6 @@ BOOL CXkeymacsApp::InitInstance()
                return FALSE;\r
        }\r
 \r
-#ifdef _AFXDLL\r
-       Enable3dControls();                     // Call this when using MFC in a shared DLL\r
-#else\r
-       Enable3dControlsStatic();       // Call this when linking to MFC statically\r
-#endif\r
-\r
        // Change the registry key under which our settings are stored.\r
        SetRegistryKey(IDS_REGISTRY_KEY);\r
 //\r
index 312c0bc..7a843c2 100644 (file)
@@ -1957,9 +1957,6 @@ int CCommands::TransposeChars()
                                nStep = 5;\r
                                return Reset(GOTO_RECURSIVE);\r
                        }\r
-\r
-                       nStep = 7;\r
-                       return Reset(GOTO_RECURSIVE);\r
                }\r
        case 4:         // Paste the cut character\r
                nStep = 0;\r