[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Wed Jun 15 19:12:21 CEST 2005


SVN commit 425822 by staikos:

detab


 M  +7 -7      kst2dplot.cpp  


--- trunk/extragear/graphics/kst/kst/kst2dplot.cpp #425821:425822
@@ -3098,13 +3098,13 @@
     if (i_count<4) { // only fill if there are 1, 2 or 3 different label....
       // otherwise a legend box should be used.
       for (i_curve = 0; i_curve < i_count; i_curve++) {
-	if (i_curve == i_count - 1) {
-	  ylabel += ylabels[i_curve];
-	} else if (i_curve < i_count-2) {
-	  ylabel += i18n("name in a list", "%1, ").arg(ylabels[i_curve]);
-	} else if (i_curve == i_count-2) {
-	  ylabel += i18n("penultimate name in a list", "%1 and ").arg(ylabels[i_curve]);
-	}
+        if (i_curve == i_count - 1) {
+          ylabel += ylabels[i_curve];
+        } else if (i_curve < i_count-2) {
+          ylabel += i18n("name in a list", "%1, ").arg(ylabels[i_curve]);
+        } else if (i_curve == i_count-2) {
+          ylabel += i18n("penultimate name in a list", "%1 and ").arg(ylabels[i_curve]);
+        }
       }
     }
   }


More information about the Kst mailing list