From 3fe8463ddff8ed088c388c632e9041cdc201a187 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sat, 8 Nov 2008 23:44:43 +0000 Subject: [PATCH] Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5467 (too much C++, I presume :) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27352 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiApplication.cpp | 2 +- status.16x | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index bd3e418e92..d4b7bce11f 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -135,7 +135,7 @@ frontend::Application * createApplication(int & argc, char * argv[]) // prune -geometry argument(s) by shifting // the following ones 2 places down. for (int i = 0 ; i < argc ; ++i) { - if (argv[i] == "-geometry") { + if (strcmp(argv[i], "-geometry") == 0) { int const remove = (i+1) < argc ? 2 : 1; argc -= remove; for (int j = i; j < argc; ++j) diff --git a/status.16x b/status.16x index 9ca169b5b6..1bf5f1efc5 100644 --- a/status.16x +++ b/status.16x @@ -54,7 +54,7 @@ What's new * USER INTERFACE - +- Fix the -geometry command line option on Windows (bug 5467). * DOCUMENTATION AND LOCALIZATION -- 2.39.2