]> code.delx.au - gnu-emacs/commitdiff
* nsfns.m (ns-read-file-name): Fix typo in assignment statement.
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Thu, 22 Jan 2009 13:31:54 +0000 (13:31 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Thu, 22 Jan 2009 13:31:54 +0000 (13:31 +0000)
src/ChangeLog
src/nsfns.m

index 283f3fb4201054ffa75001bacf2725be14f18dca..2a0ad325f6d9c4c6c7bb6a5b2f3a612c445a0453 100644 (file)
@@ -6,6 +6,8 @@
        * nsmenu.m (EmacsMenu-parseKeyEquiv:, addItemWithWidgetValue:):
        Display all shortcuts, including those w/o super modifier.
 
+       * nsfns.m (ns-read-file-name): Fix typo in assignment statement.
+
 2009-01-22  Chong Yidong  <cyd@stupidchicken.com>
 
        * fileio.c (Vwrite_region_post_annotation_function)
index 6e1c6c05aa2863e1fd875e2e346e408c514f56f8..aee371efc8981191cfed437313bc7646cc8485cb 100644 (file)
@@ -1494,7 +1494,7 @@ Optional arg INIT, if non-nil, provides a default file name to use.  */)
       ret = [panel runModalForDirectory: dirS file: initS types: nil];
     }
 
-  ret = (ret = NSOKButton) || panelOK;
+  ret = (ret == NSOKButton) || panelOK;
 
   fname = [panel filename];