summaryrefslogtreecommitdiff
path: root/src/macfns.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2005-09-18 05:42:12 +0000
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2005-09-18 05:42:12 +0000
commit3da64ce8fc7efe6c8ae5b135a3d5215176662df6 (patch)
treec2e967c1fb44cf466250b94ad2a52f160e7fced6 /src/macfns.c
parentfccb803e67290029c52f5fdd41e387ac33831e45 (diff)
downloademacs-3da64ce8fc7efe6c8ae5b135a3d5215176662df6.tar.gz
(image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New variables.
[TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple file selection.
Diffstat (limited to 'src/macfns.c')
-rw-r--r--src/macfns.c6
1 files changed, 6 insertions, 0 deletions
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);