(too much C++, I presume :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27352 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2008-11-08 23:44:43 +00:00
parent 90dc9a419d
commit 3fe8463ddf
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -54,7 +54,7 @@ What's new
* USER INTERFACE
- Fix the -geometry command line option on Windows (bug 5467).
* DOCUMENTATION AND LOCALIZATION