From 0e5f548f76fe0df77227d55fede6431f39b61272 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 8 Nov 2012 13:38:02 +0100 Subject: [PATCH] minor tweaks in displayed texts --- src/main.cc | 4 ++-- 1 file 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); }