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