Hi David,
thanks, applied in SVN 741.
/// Jürgen
On 06/12/2016 06:55 AM, David B.
Lamkins wrote:
This patch corrects a problem with the -p and -l options not recognizing their arguments.
Index: src/UserPreferences.cc
===================================================================
--- src/UserPreferences.cc (revision 739)
+++ src/UserPreferences.cc (working copy)
@@ -182,7 +182,7 @@
for (size_t a = 1; a < expanded_argv.size(); )
{
const char * opt = expanded_argv[a++];
- const char * val = (a < expanded_argv.size() - 1)
+ const char * val = (a < expanded_argv.size())
? expanded_argv[a] : 0;
if (!strcmp(opt, "-l"))
|