* nsterm.m (openFiles): Fix previous checkin.
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 31 Jul 2012 05:56:36 +0000 (07:56 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 31 Jul 2012 05:56:36 +0000 (07:56 +0200)
src/ChangeLog
src/nsterm.m

index b22f12a..37e3bf6 100644 (file)
@@ -1,3 +1,7 @@
+2012-07-31  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (openFiles): Fix previous checkin.
+
 2012-07-31  Paul Eggert  <eggert@cs.ucla.edu>
 
        * indent.c (compute_motion): Remove unused local.
index 4e181e9..d92ab81 100644 (file)
@@ -4477,7 +4477,7 @@ ns_term_shutdown (int sig)
   /* Don't open files from the command line, Cocoa parses the command line
      wrong anyway, --option value tries to open value if --option is the last
      option.  */
-  if (ns_ignore_open_file)
+  if (ns_do_open_file)
     {
       NSEnumerator *files = [fileList objectEnumerator];
       NSString *file;