]> git.lyx.org Git - features.git/commitdiff
undo
authorPeter Kümmel <syntheticpp@gmx.net>
Tue, 29 Mar 2011 21:38:52 +0000 (21:38 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Tue, 29 Mar 2011 21:38:52 +0000 (21:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38136 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyX.cpp

index b033e40bd8f05d6fb10dc60c443d10f2a9b365d3..eb2ba766e06686eed1c113b1cbeead02046af799 100644 (file)
@@ -294,12 +294,8 @@ int LyX::exec(int & argc, char * argv[])
                        top_build_dir_is_one_level_up);
        } catch (ExceptionMessage const & message) {
                LYXERR(Debug::LOCALE, message.title_ + ", " + message.details_);
-#ifdef _WIN32
-               // no console and no Qt here so use a simple message box
-               MessageBoxA(0, to_ascii(message.details_).c_str(), to_ascii(message.title_).c_str(), 0);
-               return 1;
-#endif
        }
+    // FIXME: This breaks out of source build under Windows.
        locale_init();
 
        // Here we need to parse the command line. At least