mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Some minor fixes.
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ namespace loot {
|
||||
CefRefPtr<Callback> callback) {
|
||||
|
||||
const std::string& message_name = request;
|
||||
if (message_name.find("openReadme") == 0) {
|
||||
if (message_name == "openReadme") {
|
||||
// Open readme in default application.
|
||||
HINSTANCE ret = ShellExecute(0, NULL, ToWinWide(ToFileURL(g_path_readme)).c_str(), NULL, NULL, SW_SHOWNORMAL);
|
||||
if ((int)ret > 32)
|
||||
|
||||
@@ -153,7 +153,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmd
|
||||
|
||||
//Disable CEF logging.
|
||||
cef_settings.command_line_args_disabled = true;
|
||||
CefString(&cef_settings.locale).FromString(localeId);
|
||||
CefString(&cef_settings.locale).FromString(localeId.substr(0, localeId.length() - 7));
|
||||
if (verbosity == 0)
|
||||
cef_settings.log_severity = LOGSEVERITY_DISABLE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user