# HG changeset patch # User Adrian Robert # Date 1232631114 0 # Node ID a7544aafa1e1a8dcf4884580719a2f16c921456a # Parent 1cda0fcef2487bc2e2a533be892e8ddc041c2a7b * nsfns.m (ns-read-file-name): Fix typo in assignment statement. diff -r 1cda0fcef248 -r a7544aafa1e1 src/ChangeLog --- 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 * fileio.c (Vwrite_region_post_annotation_function) diff -r 1cda0fcef248 -r a7544aafa1e1 src/nsfns.m --- 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];