警告対策
- warning C4996: 'strdup': The POSIX name for this item is deprecated.
@@ -4313,7 +4313,7 @@ | ||
4313 | 4313 | |
4314 | 4314 | SetDialogFont(ts.DialogFontNameW, ts.DialogFontPoint, ts.DialogFontCharSet, |
4315 | 4315 | ts.UILanguageFileW, "Tera Term", "DLG_SYSTEM_FONT"); |
4316 | - char *orgTitle = strdup(ts.Title); | |
4316 | + char *orgTitle = _strdup(ts.Title); | |
4317 | 4317 | Ok = (*SetupWin)(HVTWin, &ts); |
4318 | 4318 | |
4319 | 4319 | if (Ok) { |