[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Wed Mar 16 00:04:11 CET 2005


CVS commit by arwalker: 

Limit number of columns to the same number as is supported in the user interface (i.e. 10).


  M +3 -0      main.cpp   1.106


--- kdeextragear-2/kst/kst/main.cpp  #1.105:1.106
@@ -145,4 +145,7 @@ static void SetCMDOptions(KCmdLineArgs *
   in.n_cols = args->getOption("m").toInt(&nOK);
   if (in.n_cols > 0) {
+    if (in.n_cols > 10) {
+      in.n_cols = 10;
+    }
     if (args->count() > 0) {
       in.sep_plots = true;




More information about the Kst mailing list