aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/noui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/noui.cpp b/src/noui.cpp
index 204e76aba7..96a8de4ee9 100644
--- a/src/noui.cpp
+++ b/src/noui.cpp
@@ -24,10 +24,10 @@ static int noui_ThreadSafeMessageBox(const std::string& message, const std::stri
strCaption += _("Information");
break;
default:
- strCaption += caption; // Use supplied caption
+ strCaption += caption; // Use supplied caption (can be empty)
}
- printf("%s: %s\n", caption.c_str(), message.c_str());
+ printf("%s: %s\n", strCaption.c_str(), message.c_str());
fprintf(stderr, "%s: %s\n", strCaption.c_str(), message.c_str());
return 4;
}