summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_arg.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Fl_arg.cxx b/src/Fl_arg.cxx
index 73d07fd61..9fcdd38cb 100644
--- a/src/Fl_arg.cxx
+++ b/src/Fl_arg.cxx
@@ -173,7 +173,11 @@ int Fl::arg(int argc, char **argv, int &i) {
#ifdef __APPLE__
// The Finder application in MacOS X passes the "-psn_N_NNNNN" option
// to all apps...
- else if (strncmp(s, "psn_", 4) == 0) {
+ else if (strcmp(s, "NSDocumentRevisionsDebugMode") == 0) {
+ i++;
+ if (argv[i]) i++;
+ return 1;
+ } else if (strncmp(s, "psn_", 4) == 0) {
i++;
return 1;
}