summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/doc3
-rw-r--r--src/tui.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/doc b/src/doc
index 6f52857..eaab42e 100644
--- a/src/doc
+++ b/src/doc
@@ -810,8 +810,7 @@ Commands for handling cell content:
:plot {type}
Plot a graphic using a selected range.
- Right now, only a 'line' type, 'scatter' type, 'bar' type
- and 'pie' type are allowed.
+ Right now, only 'line', 'scatter', 'bar' and 'pie' types are allowed.
Ex. of use: :plot line
This command calls gnuplot using the file called 'plotline'
diff --git a/src/tui.c b/src/tui.c
index f53fc75..6c6223a 100644
--- a/src/tui.c
+++ b/src/tui.c
@@ -1034,7 +1034,7 @@ wchar_t ui_query_opt(wchar_t * initial_msg, wchar_t * valid) {
sc_info("%ls", initial_msg);
wint_t wd = -1;
wchar_t wdc[2] = L"";
- int res = -1;
+ int res;
curs_set(1);
wtimeout(input_win, -1);