From: Kazuhiro Fujieda Date: Fri, 24 Jun 2011 13:33:42 +0000 (+0900) Subject: Remove invocations of obsolete Enable3dControls and Enable3dControlsStatic. X-Git-Tag: snap-110702~5 X-Git-Url: http://git.osdn.net/view?p=xkeymacs%2Fxkeymacs.git;a=commitdiff_plain;h=57455b5ca52cab4f981191f27a1ceafe29fa7396 Remove invocations of obsolete Enable3dControls and Enable3dControlsStatic. Remove dead code. --- 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;