changeset 101356:a7544aafa1e1

* nsfns.m (ns-read-file-name): Fix typo in assignment statement.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Thu, 22 Jan 2009 13:31:54 +0000
parents 1cda0fcef248
children 64413c753b62
files src/ChangeLog src/nsfns.m
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jan 22 13:15:32 2009 +0000
+++ b/src/ChangeLog	Thu Jan 22 13:31:54 2009 +0000
@@ -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)
--- a/src/nsfns.m	Thu Jan 22 13:15:32 2009 +0000
+++ b/src/nsfns.m	Thu Jan 22 13:31:54 2009 +0000
@@ -1494,7 +1494,7 @@
       ret = [panel runModalForDirectory: dirS file: initS types: nil];
     }
 
-  ret = (ret = NSOKButton) || panelOK;
+  ret = (ret == NSOKButton) || panelOK;
 
   fname = [panel filename];