SourceForge has been redesigned. Learn more.
Close

Diff of /win32/SciTEWin.cxx [45deb4] .. [60e7f8]  Maximize  Restore

Switch to side-by-side view

--- a/win32/SciTEWin.cxx
+++ b/win32/SciTEWin.cxx
@@ -3875,11 +3875,8 @@
 		}
 	}
 
-#ifdef NO_EXTENSIONS
-	Extension *extender = 0;
-#else
+#ifndef NO_EXTENSIONS
 	MultiplexExtension multiExtender;
-	Extension *extender = &multiExtender;
 
 #ifndef NO_LUA
 	multiExtender.RegisterExtension(LuaExtension::Instance());
@@ -3905,6 +3902,11 @@
 
 	uptr_t result;
 	{
+#ifdef NO_EXTENSIONS
+		Extension *extender = 0;
+#else
+		Extension *extender = &multiExtender;
+#endif
 		SciTEWin MainWind(extender);
 		LPTSTR lptszCmdLine = GetCommandLine();
 		if (*lptszCmdLine == '\"') {