aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRicardo Catalinas JimĂ©nez <[email protected]>2011-09-24 19:11:16 +0200
committerHenrik Nord <[email protected]>2011-11-09 14:48:14 +0100
commitd90ccb6a63f7ae63e1d4c89d686694a06e56c025 (patch)
tree2b29c153105c0fed72af9d671b1e53556da391d8 /lib
parent766a0a84f0b9e4b9341fb06364bf5430574588a6 (diff)
downloadotp-d90ccb6a63f7ae63e1d4c89d686694a06e56c025.tar.gz
otp-d90ccb6a63f7ae63e1d4c89d686694a06e56c025.tar.bz2
otp-d90ccb6a63f7ae63e1d4c89d686694a06e56c025.zip
Fix debugger message with wx
Add missing spaces when using wx UI. The gs UI didn't need them. Change the exclamation of the message by a dot, more formal style for a UI message.
Diffstat (limited to 'lib')
-rw-r--r--lib/debugger/src/dbg_ui_settings.erl2
-rw-r--r--lib/debugger/src/dbg_wx_settings.erl6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/debugger/src/dbg_ui_settings.erl b/lib/debugger/src/dbg_ui_settings.erl
index 146aa7e239..c21c6bb66b 100644
--- a/lib/debugger/src/dbg_ui_settings.erl
+++ b/lib/debugger/src/dbg_ui_settings.erl
@@ -137,7 +137,7 @@ default_settings_dir(GS) ->
Msg = ["Default directory", DefDir, "does not exist.",
"Click Ok to create it or",
- "Cancel to use other directory!"],
+ "Cancel to use other directory."],
case tool_utils:confirm(GS, Msg) of
ok ->
ToolsDir = filename:dirname(DefDir),
diff --git a/lib/debugger/src/dbg_wx_settings.erl b/lib/debugger/src/dbg_wx_settings.erl
index 8f87815949..f3c2eb76b3 100644
--- a/lib/debugger/src/dbg_wx_settings.erl
+++ b/lib/debugger/src/dbg_wx_settings.erl
@@ -83,9 +83,9 @@ default_settings_dir(Win) ->
false ->
{ok, CWD} = file:get_cwd(),
- Msg = ["Default directory", DefDir, "does not exist.",
- "Click Ok to create it or",
- "Cancel to use other directory!"],
+ Msg = ["Default directory ", DefDir, " does not exist. ",
+ "Click Ok to create it or ",
+ "Cancel to use other directory."],
case dbg_wx_win:confirm(Win, Msg) of
ok ->
ToolsDir = filename:dirname(DefDir),