Changeset View
Changeset View
Standalone View
Standalone View
src/noui.cpp
Show All 39 Lines | switch (style) { | ||||
default: | default: | ||||
// Use supplied caption (can be empty) | // Use supplied caption (can be empty) | ||||
strCaption += caption; | strCaption += caption; | ||||
} | } | ||||
if (!fSecure) { | if (!fSecure) { | ||||
LogPrintf("%s: %s\n", strCaption, message); | LogPrintf("%s: %s\n", strCaption, message); | ||||
} | } | ||||
tfm::format(std::cerr, "%s: %s\n", strCaption.c_str(), message.c_str()); | tfm::format(std::cerr, "%s%s\n", strCaption, message); | ||||
return false; | return false; | ||||
} | } | ||||
bool noui_ThreadSafeQuestion( | bool noui_ThreadSafeQuestion( | ||||
const std::string & /* ignored interactive message */, | const std::string & /* ignored interactive message */, | ||||
const std::string &message, const std::string &caption, | const std::string &message, const std::string &caption, | ||||
unsigned int style) { | unsigned int style) { | ||||
return noui_ThreadSafeMessageBox(message, caption, style); | return noui_ThreadSafeMessageBox(message, caption, style); | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |