From: Adrian Robert Date: Thu, 22 Jan 2009 13:31:54 +0000 (+0000) Subject: * nsfns.m (ns-read-file-name): Fix typo in assignment statement. X-Git-Tag: emacs-pretest-23.0.90~309 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=575fb8bdb4033a74f874948a2e533cf534eda6ad;p=emacs.git * nsfns.m (ns-read-file-name): Fix typo in assignment statement. --- diff --git a/src/ChangeLog b/src/ChangeLog index 283f3fb4201..2a0ad325f6d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 * fileio.c (Vwrite_region_post_annotation_function) diff --git a/src/nsfns.m b/src/nsfns.m index 6e1c6c05aa2..aee371efc89 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -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];