summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-07-05 13:44:08 +0200
committerEike Rathke <erack@redhat.com>2017-07-05 13:47:55 +0200
commit91287c7456b1bc7060a0f1f08902960eb7a868dc (patch)
treeebacd895ab46cf9a984d438b12f552359b92047f /include/formula
parentddf8d9a150e3e1725de65577c48d47918b4b11a8 (diff)
Enable the Formula Wizard to display 255 argument fields
Previously it was, for example for SUM, 1 2 3 ... 28 29 30,31,32,33,...,253,254,255 ie. for more than 30 parameters the exceeding ones were crammed into the last (30th) edit field. The expression still worked, but this was ugly, and selecting the last field it was easy to overwrite all remaining arguments at once. Change-Id: I6b27a20e7f07d3a6b4752855f04d6239e6375418
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/funcvarargs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/formula/funcvarargs.h b/include/formula/funcvarargs.h
index 1be68692fe41..ed529ee98680 100644
--- a/include/formula/funcvarargs.h
+++ b/include/formula/funcvarargs.h
@@ -32,7 +32,7 @@
functionDescription.isInfiniteParameterCount() which though looks like it
could be easily adapted.
*/
-#define VAR_ARGS 30
+#define VAR_ARGS 255
/** Used to indicate a variable number of paired parameters for the Function Wizard.