From ba2e9f33752c2396f579a9bef7d34bb0bea6b35e Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 13 Jul 2008 21:39:07 +0000 Subject: Make --post create a basic Mac OS X application bundle with a shell script that executes the bundled program. Change the defaults for Quartz, threading, large file support, XDBE, Xft, and Xinerama to "yes". Remove the old Mac OS X resource fork file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_arg.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/Fl_arg.cxx b/src/Fl_arg.cxx index c6b2e60a7..49002816d 100644 --- a/src/Fl_arg.cxx +++ b/src/Fl_arg.cxx @@ -82,6 +82,13 @@ int Fl::arg(int argc, char **argv, int &i) { if (s[0] != '-' || s[1] == '-' || !s[1]) {return_i = 1; return 0;} s++; // point after the dash +#ifdef __APPLE__ + if (!strncmp(s, "psn", 3)) { + // Skip process serial number... + i++; + } + else +#endif // __APPLE__ if (fl_match(s, "iconic")) { fl_show_iconic = 1; i++; -- cgit v1.2.3