Skip to content

Commit

Permalink
not parse NSDocumentRevisionsDebugMode
Browse files Browse the repository at this point in the history
  • Loading branch information
u0u0 committed Jun 24, 2023
1 parent 7378b3d commit cdfa273
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/runner/proj.mac/main.mm
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ int main(int argc, char *argv[])
CommandSetup *cmd = CommandSetup::getInstance();
cmd->setRelauncher(relaunchSelf);
cmd->setEngineRootPath(getEngineRoot());
if (argc > 2 && strcmp(argv[1], "-NSDocumentRevisionsDebugMode") == 0) {
argc = 1; // not parse -NSDocumentRevisionsDebugMode YES
}
cmd->parseCommand(argc, argv);
cmd->setupEngine();

Expand Down

0 comments on commit cdfa273

Please sign in to comment.