]> git.lyx.org Git - lyx.git/blobdiff - src/main.cpp
Account for old versions of Pygments
[lyx.git] / src / main.cpp
index 11f91d3f55e76d9b744498481e6330c4f3dd6fd0..5c4fb468459dbc3fa2a7ab12bbf418d1b6f7674e 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean Marc Lasgouttes
  *
  * Full author contact details are available in file CREDITS.
@@ -14,7 +14,6 @@
 #include "LyX.h"
 
 #include "support/debug.h"
-#include "support/gettext.h"
 #include "support/os.h"
 
 #include <iostream>
@@ -36,10 +35,7 @@ int main(int argc, char * argv[])
        // early as possible.
        lyx::lyxerr.setStream(cerr);
 
-       lyx::support::os::init(argc, argv);
-
-       // initialize for internationalized version *EK*
-       lyx::locale_init();
+       lyx::support::os::init(argc, &argv);
 
        lyx::LyX the_lyx_instance;