Fix warning in extprog.cc
This commit is contained in:
parent
8078a7bc51
commit
6171db443f
@ -325,9 +325,7 @@ bool ExtProgStore::openInCustomEditor (const Glib::ustring& fileName)
|
||||
|
||||
const auto cmdLine = Glib::ustring("\"") + options.customEditorProg + Glib::ustring("\"");
|
||||
auto success = ShellExecute( NULL, "open", cmdLine.c_str(), fileName.c_str(), NULL, SW_SHOWNORMAL );
|
||||
if ((uintptr_t)success > 32) {
|
||||
return true;
|
||||
}
|
||||
return (uintptr_t)success > 32;
|
||||
|
||||
#elif defined __APPLE__
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user