ref: 695895ddb2231ffed9284dd5346d1c6007e5c4df
parent: fccdde81b5d69771667393972d48e2e7bc8bc7f9
author: Turo Lamminen <turotl@gmail.com>
date: Tue Mar 27 15:33:52 EDT 2018
textscreen: Make AddOperatorButton label parameter const in calculator example
--- a/textscreen/examples/calculator.c
+++ b/textscreen/examples/calculator.c
@@ -81,7 +81,7 @@
starting_input = 1;
}
-void AddOperatorButton(txt_table_t *table, char *label, operator_t op)
+void AddOperatorButton(txt_table_t *table, const char *label, operator_t op)
{
char buf[10];
operator_t *op_copy;