From: Eli Zaretskii Date: Sat, 23 Nov 2013 16:10:59 +0000 (+0200) Subject: Minor tweaks of the Cygwin code. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~446^2~30 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eac30cd471086f007a9dfaa6044870189d0fb323;p=emacs.git Minor tweaks of the Cygwin code. --- diff --git a/src/w32fns.c b/src/w32fns.c index 3e7ba910c22..c2d2b069ec7 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -6254,7 +6254,7 @@ file_dialog_callback (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) int dropdown_changed; int dir_index; #ifdef NTGUI_UNICODE - int use_unicode = 1; + const int use_unicode = 1; #else /* !NTGUI_UNICODE */ int use_unicode = w32_unicode_filenames; #endif /* NTGUI_UNICODE */ @@ -6375,7 +6375,7 @@ Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */) #ifdef NTGUI_UNICODE wchar_t filename_buf_w[32*1024 + 1]; // NT kernel maximum OPENFILENAMEW * file_details_w = &new_file_details_w.details; - int use_unicode = 1; + const int use_unicode = 1; #else /* not NTGUI_UNICODE */ struct { OPENFILENAMEA details;