diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ask.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/ask.cxx b/test/ask.cxx index 0800f2d01..8c708cad1 100644 --- a/test/ask.cxx +++ b/test/ask.cxx @@ -35,10 +35,13 @@ void rename_button(Fl_Widget *o, void *v) { int what = fl_int(v); Fl_String input; - if (what == 0) + if (what == 0) { + fl_message_icon_label("§"); input = fl_input_str(0, "Input (no size limit, use ctrl/j for newline):", o->label()); - else + } else { + fl_message_icon_label("€"); input = fl_password_str(20, "Enter password (max. 20 characters):", o->label()); + } if (input.value()) { o->copy_label(input.value()); o->redraw(); |
