Fix warning in extprog.cc

This commit is contained in:
heckflosse 2017-04-01 20:16:01 +02:00
parent 8078a7bc51
commit 6171db443f

View File

@ -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__