From 3da64ce8fc7efe6c8ae5b135a3d5215176662df6 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sun, 18 Sep 2005 05:42:12 +0000 Subject: [PATCH] (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New variables. [TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple file selection. --- src/macfns.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/macfns.c b/src/macfns.c index 160eb1f7774..3c92499701b 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -94,6 +94,11 @@ Lisp_Object Qcancel_timer; 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 @@ If ONLY-DIR-P is non-nil, the user can only select directories. */) options.optionFlags = kNavDefaultNavDlogOptions; options.optionFlags |= kNavAllFilesInPopup; /* All files allowed */ options.optionFlags |= kNavSelectAllReadableItem; + options.optionFlags &= ~kNavAllowMultipleFiles; if (!NILP(prompt)) { message = cfstring_create_with_string (prompt); -- 2.39.5