Skip to content

Commit

Permalink
strcmp() を wcscmp() に置き換え #288
Browse files Browse the repository at this point in the history
- warning C4133: '関数': 'wchar_t *' と 'const char *' の間で型に互換性がありません。
- a5dc16c
  • Loading branch information
zmatsuo committed Aug 25, 2024
1 parent b907de8 commit 05fc1c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teraterm/ttpdlg/generaldlg.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ BOOL WINAPI _SetupGeneral(HWND WndParent, PTTSet ts)
aswprintf(&folder, L"%s\\%s", ts->ExeDirW, get_lang_folder());
infos = LangAppendFileList(folder, infos, &infos_size);
free(folder);
if (strcmp(ts->ExeDirW, ts->HomeDirW) != 0) {
if (wcscmp(ts->ExeDirW, ts->HomeDirW) != 0) {
aswprintf(&folder, L"%s\\%s", ts->HomeDirW, get_lang_folder());
infos = LangAppendFileList(folder, infos, &infos_size);
free(folder);
Expand Down

0 comments on commit 05fc1c3

Please sign in to comment.