changeset 65579:18cc1afe504a

(image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New variables. [TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple file selection.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Sun, 18 Sep 2005 05:42:12 +0000
parents e1d85bcde8ef
children 52cdcffb8710
files src/macfns.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/macfns.c	Sun Sep 18 05:41:49 2005 +0000
+++ b/src/macfns.c	Sun Sep 18 05:42:12 2005 +0000
@@ -94,6 +94,11 @@
 
 extern Lisp_Object Vwindow_system_version;
 
+#if GLYPH_DEBUG
+int image_cache_refcount, dpyinfo_refcount;
+#endif
+
+
 #if 0 /* Use xstricmp instead.  */
 /* compare two strings ignoring case */
 
@@ -4145,6 +4150,7 @@
     options.optionFlags = kNavDefaultNavDlogOptions;
     options.optionFlags |= kNavAllFilesInPopup;  /* All files allowed */
     options.optionFlags |= kNavSelectAllReadableItem;
+    options.optionFlags &= ~kNavAllowMultipleFiles;
     if (!NILP(prompt))
       {
 	message = cfstring_create_with_string (prompt);