From a774b2ce7ab40c4669a817bdc27888fd357c8e15 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 9 Oct 2008 14:53:25 +0000 Subject: [PATCH] MSVC Compil fix: Finish JMarc's work. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26832 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyX.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/LyX.cpp b/src/LyX.cpp index 0615c31bb8..47479fafbd 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -1057,7 +1057,9 @@ int parse_import(string const & type, string const & file, string & batch) int parse_geometry(string const & arg1, string const &, string &) { geometryArg = arg1; - return 1; + // don't remove "-geometry", it will be pruned out later in the + // frontend if need be. + return -1; } -- 2.39.2