aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/w32fns.c4
1 files changed, 2 insertions, 2 deletions
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)
6254 int dropdown_changed; 6254 int dropdown_changed;
6255 int dir_index; 6255 int dir_index;
6256#ifdef NTGUI_UNICODE 6256#ifdef NTGUI_UNICODE
6257 int use_unicode = 1; 6257 const int use_unicode = 1;
6258#else /* !NTGUI_UNICODE */ 6258#else /* !NTGUI_UNICODE */
6259 int use_unicode = w32_unicode_filenames; 6259 int use_unicode = w32_unicode_filenames;
6260#endif /* NTGUI_UNICODE */ 6260#endif /* NTGUI_UNICODE */
@@ -6375,7 +6375,7 @@ Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */)
6375#ifdef NTGUI_UNICODE 6375#ifdef NTGUI_UNICODE
6376 wchar_t filename_buf_w[32*1024 + 1]; // NT kernel maximum 6376 wchar_t filename_buf_w[32*1024 + 1]; // NT kernel maximum
6377 OPENFILENAMEW * file_details_w = &new_file_details_w.details; 6377 OPENFILENAMEW * file_details_w = &new_file_details_w.details;
6378 int use_unicode = 1; 6378 const int use_unicode = 1;
6379#else /* not NTGUI_UNICODE */ 6379#else /* not NTGUI_UNICODE */
6380 struct { 6380 struct {
6381 OPENFILENAMEA details; 6381 OPENFILENAMEA details;