fix misplaced #else

This commit is contained in:
Struma 2021-05-23 22:06:35 -04:00 committed by Roza
parent 258055d86a
commit a216869375

View file

@ -578,11 +578,11 @@ RB_METHOD(mkxpLaunch) {
command += " "; command += " ";
command += RSTRING_PTR(arg); command += RSTRING_PTR(arg);
}
#else #else
Debug() << command << ":" << "Arguments are not supported with xdg-open. Ignoring."; Debug() << command << ":" << "Arguments are not supported with xdg-open. Ignoring.";
#endif #endif
} }
}
if (std::system(command.c_str()) != 0) { if (std::system(command.c_str()) != 0) {
raiseRbExc(Exception(Exception::MKXPError, "Failed to launch \"%s\"", RSTRING_PTR(cmdname))); raiseRbExc(Exception(Exception::MKXPError, "Failed to launch \"%s\"", RSTRING_PTR(cmdname)));