# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1127022132 0 # Node ID 18cc1afe504a1e4b6e6285acbfa08266b9b4f555 # Parent e1d85bcde8ef72974ca7d1531201e7f94f9b3ec9 (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New variables. [TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple file selection. diff -r e1d85bcde8ef -r 18cc1afe504a src/macfns.c --- 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);