Revision: 8944 https://osdn.net/projects/ttssh2/scm/svn/commits/8944 Author: zmatsuo Date: 2020-10-03 00:45:39 +0900 (Sat, 03 Oct 2020) Log Message: ----------- get_lang_font() の第一引数を const char * に変更 Modified Paths: -------------- trunk/teraterm/common/ttlib.c trunk/teraterm/common/ttlib.h -------------- next part -------------- Modified: trunk/teraterm/common/ttlib.c =================================================================== --- trunk/teraterm/common/ttlib.c 2020-10-02 15:45:27 UTC (rev 8943) +++ trunk/teraterm/common/ttlib.c 2020-10-02 15:45:39 UTC (rev 8944) @@ -1064,7 +1064,7 @@ GetI18nStr("Tera Term", key, buf, buf_len, def, iniFile); } -int get_lang_font(PCHAR key, HWND dlg, PLOGFONT logfont, HFONT *font, const char *iniFile) +int get_lang_font(const char *key, HWND dlg, PLOGFONT logfont, HFONT *font, const char *iniFile) { if (GetI18nLogfont("Tera Term", key, logfont, GetDeviceCaps(GetDC(dlg),LOGPIXELSY), Modified: trunk/teraterm/common/ttlib.h =================================================================== --- trunk/teraterm/common/ttlib.h 2020-10-02 15:45:27 UTC (rev 8943) +++ trunk/teraterm/common/ttlib.h 2020-10-02 15:45:39 UTC (rev 8944) @@ -81,7 +81,7 @@ void GetOnOffEntryInifile(char *entry, char *buf, int buflen); void get_lang_msg(const char *key, PCHAR buf, int buf_len, const char *def, const char *iniFile); void get_lang_msgW(const char *key, wchar_t *buf, int buf_len, const wchar_t *def, const char *iniFile); -int get_lang_font(PCHAR key, HWND dlg, PLOGFONT logfont, HFONT *font, const char *iniFile); +int get_lang_font(const char *key, HWND dlg, PLOGFONT logfont, HFONT *font, const char *iniFile); DllExport BOOL doSelectFolder(HWND hWnd, char *path, int pathlen, const char *def, const char *msg); BOOL doSelectFolderW(HWND hWnd, wchar_t *path, int pathlen, const wchar_t *def, const wchar_t *msg); DllExport void OutputDebugPrintf(const char *fmt, ...);