From d07ed2ae94331de25a2cd658ed13e5e4db2f7c12 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 24 Jan 2000 17:09:18 +0000 Subject: [PATCH] Fix a bug where command line optionds like -width were not supported anymore. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@442 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 3 +++ src/lyx_main.C | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 31fd14a3a1..400a49a05e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-01-24 Jean-Marc Lasgouttes + * src/lyx_main.C (easyParse): remove test for bad comand line + options, since this broke all xforms-related parsing. + * src/kbmap.C (getsym): set return type to unsigned long, as declared in header. On an alpha, long is _not_ the same as int. diff --git a/src/lyx_main.C b/src/lyx_main.C index 98a0ebbaf4..d63e27532b 100644 --- a/src/lyx_main.C +++ b/src/lyx_main.C @@ -569,11 +569,6 @@ bool LyX::easyParse(int * argc, char * argv[]) "ps...] after ") << arg << _(" switch!") << endl; } - - else if((!arg.empty()) && (arg[0] == '-')) { - lyxerr << "Illegal option `" << arg << "'" <