diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2014-11-15 17:53:40 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2014-11-15 17:53:40 +0100 |
commit | 3b46248a611dd4eeb8cef5a9d5ed3462b3cf5654 (patch) | |
tree | 4787805a719411fc106c7067ab67ed646f26ef56 /src/ncmpcpp.cpp | |
parent | 0c58af8c539358f1d1b8c345328c554edc61449c (diff) |
main: simplify conversion error message
Diffstat (limited to 'src/ncmpcpp.cpp')
-rw-r--r-- | src/ncmpcpp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ncmpcpp.cpp b/src/ncmpcpp.cpp index 3e7379ac..eeb78f1c 100644 --- a/src/ncmpcpp.cpp +++ b/src/ncmpcpp.cpp @@ -143,7 +143,7 @@ int main(int argc, char **argv) if (screen_locked && slave_screen != myScreen->type()) toScreen(slave_screen)->switchTo(); } - + // local variables bool key_pressed = false; Key input = Key::noOp; @@ -230,7 +230,7 @@ int main(int argc, char **argv) } catch (ConversionError &e) { - Statusbar::printf("Couldn't convert value \"%1%\" to target type", e.value()); + Statusbar::printf("Invalid value: %1%", e.value()); } catch (OutOfBounds &e) { |