]> git.saurik.com Git - wxWidgets.git/commit
Fix bug with parsing concatenated switches in wxCmdLineParser.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Sep 2009 23:00:05 +0000 (23:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Sep 2009 23:00:05 +0000 (23:00 +0000)
commit758f356c53a3f473f642361ec09422405046148d
tree7c4b39ef6c90a65efa05d1ef1969b528ac141d26
parent48284cc7c4f8007917ae2f878cd2a76cce4fbf1f
Fix bug with parsing concatenated switches in wxCmdLineParser.

The constructs such as "-abcd" were not parsed correctly, i.e. the same as "-a
-b -c -d" because the code tried to parse a non-existent option "abcd" even if
it was supposed to not do this -- fix this.

Closes #11180.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
src/common/cmdline.cpp
tests/cmdline/cmdlinetest.cpp