summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-11-08 13:38:02 +0100
committerMaxime Coste <frrrwww@gmail.com>2012-11-08 13:38:02 +0100
commit0e5f548f76fe0df77227d55fede6431f39b61272 (patch)
tree8c2b10650d2a80d996beae877a42f165da13b39a /src
parent3a34fae9a79bf9aa2b0d840606f8adbc41760a4c (diff)
minor tweaks in displayed texts
Diffstat (limited to 'src')
-rw-r--r--src/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index 090ea3f5..95ef2f63 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -216,7 +216,7 @@ void do_select_regex(Context& context)
void do_split_regex(Context& context)
{
- context.input_handler().prompt("select: ", complete_nothing,
+ context.input_handler().prompt("split: ", complete_nothing,
[](const String& ex, Context& context)
{ context.editor().multi_select(std::bind(split_selection, _1, ex)); },
context);
@@ -347,7 +347,7 @@ String runtime_directory()
#endif
char* ptr = strrchr(buffer, '/');
if (not ptr)
- throw runtime_error("unable do determine runtime directory");
+ throw runtime_error("unable to determine runtime directory");
return String(buffer, ptr);
}