From 57455b5ca52cab4f981191f27a1ceafe29fa7396 Mon Sep 17 00:00:00 2001 From: Kazuhiro Fujieda Date: Fri, 24 Jun 2011 22:33:42 +0900 Subject: [PATCH] Remove invocations of obsolete Enable3dControls and Enable3dControlsStatic. Remove dead code. --- xkeymacs/xkeymacs.cpp | 6 ------ xkeymacsdll/Commands.cpp | 3 --- 2 files changed, 9 deletions(-) diff --git a/xkeymacs/xkeymacs.cpp b/xkeymacs/xkeymacs.cpp index f4c04bd..20979c7 100644 --- a/xkeymacs/xkeymacs.cpp +++ b/xkeymacs/xkeymacs.cpp @@ -54,12 +54,6 @@ BOOL CXkeymacsApp::InitInstance() return FALSE; } -#ifdef _AFXDLL - Enable3dControls(); // Call this when using MFC in a shared DLL -#else - Enable3dControlsStatic(); // Call this when linking to MFC statically -#endif - // Change the registry key under which our settings are stored. SetRegistryKey(IDS_REGISTRY_KEY); // diff --git a/xkeymacsdll/Commands.cpp b/xkeymacsdll/Commands.cpp index 312c0bc..7a843c2 100644 --- a/xkeymacsdll/Commands.cpp +++ b/xkeymacsdll/Commands.cpp @@ -1957,9 +1957,6 @@ int CCommands::TransposeChars() nStep = 5; return Reset(GOTO_RECURSIVE); } - - nStep = 7; - return Reset(GOTO_RECURSIVE); } case 4: // Paste the cut character nStep = 0; -- 2.11.0