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

Reply via email to