Revision: 8443 https://osdn.net/projects/ttssh2/scm/svn/commits/8443 Author: zmatsuo Date: 2019-12-14 00:13:11 +0900 (Sat, 14 Dec 2019) Log Message: ----------- 書き換え不可文字列を書き換え可能な変数に代入していた - ISO C++ forbids converting a string constant to 'wchar_t*' Modified Paths: -------------- branches/unicode_buf/teraterm/teraterm/vtwin.cpp -------------- next part -------------- Modified: branches/unicode_buf/teraterm/teraterm/vtwin.cpp =================================================================== --- branches/unicode_buf/teraterm/teraterm/vtwin.cpp 2019-12-13 15:13:01 UTC (rev 8442) +++ branches/unicode_buf/teraterm/teraterm/vtwin.cpp 2019-12-13 15:13:11 UTC (rev 8443) @@ -4252,7 +4252,7 @@ static wchar_t *GetCommonDialogFilterW(const char *user_filter_mask, const char *UILanguageFile, size_t *len) { // "\x83\x86\x81[\x83U\x92\xE8\x8B`(*.txt)\0*.txt" - wchar_t *user_filter_str = L""; + wchar_t *user_filter_str = NULL; size_t user_filter_len = 0; if (user_filter_mask != NULL && user_filter_mask[0] != 0) { wchar_t user_filter_name[MAX_UIMSG];