]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected #ifdefs testing wxUSE_UNICODE_MSLU
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Aug 2005 13:11:18 +0000 (13:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Aug 2005 13:11:18 +0000 (13:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/main.cpp

index ead91896d565e1b9cea4dd61c1ed0e05e72f4f12..8fb3fa3b23e851004526b448cf422de3f6d5aa36 100644 (file)
@@ -282,8 +282,7 @@ static bool wxIsUnicodeAvailable()
         );
 
         return false;
         );
 
         return false;
-#endif // !wxUSE_UNICODE_MSLU
-
+#else // wxUSE_UNICODE_MSLU
         // and the MSLU DLL must also be available
         HMODULE hmod = ::LoadLibraryA("unicows.dll");
         if ( !hmod )
         // and the MSLU DLL must also be available
         HMODULE hmod = ::LoadLibraryA("unicows.dll");
         if ( !hmod )
@@ -324,6 +323,7 @@ static bool wxIsUnicodeAvailable()
         }
 
         ::FreeLibrary(hmod);
         }
 
         ::FreeLibrary(hmod);
+#endif // !wxUSE_UNICODE_MSLU
     }
 
     return true;
     }
 
     return true;