scmno****@osdn*****
scmno****@osdn*****
2018年 9月 15日 (土) 13:56:14 JST
Revision: 7241 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7241 Author: zmatsuo Date: 2018-09-15 13:56:13 +0900 (Sat, 15 Sep 2018) Log Message: ----------- r7148で削除したPASCALのかわりにWINAPIを追加 Modified Paths: -------------- trunk/teraterm/common/i18n.c trunk/teraterm/common/i18n.h -------------- next part -------------- Modified: trunk/teraterm/common/i18n.c =================================================================== --- trunk/teraterm/common/i18n.c 2018-09-13 14:58:51 UTC (rev 7240) +++ trunk/teraterm/common/i18n.c 2018-09-15 04:56:13 UTC (rev 7241) @@ -28,13 +28,13 @@ #include "i18n.h" -void GetI18nStr(PCHAR section, PCHAR key, PCHAR buf, int buf_len, PCHAR def, const char *iniFile) +void WINAPI GetI18nStr(PCHAR section, PCHAR key, PCHAR buf, int buf_len, PCHAR def, const char *iniFile) { GetPrivateProfileString(section, key, def, buf, buf_len, iniFile); RestoreNewLine(buf); } -int GetI18nLogfont(PCHAR section, PCHAR key, PLOGFONT logfont, int ppi, const char *iniFile) +int WINAPI GetI18nLogfont(PCHAR section, PCHAR key, PLOGFONT logfont, int ppi, const char *iniFile) { static char tmp[MAX_UIMSG]; static char font[LF_FACESIZE]; Modified: trunk/teraterm/common/i18n.h =================================================================== --- trunk/teraterm/common/i18n.h 2018-09-13 14:58:51 UTC (rev 7240) +++ trunk/teraterm/common/i18n.h 2018-09-15 04:56:13 UTC (rev 7241) @@ -38,8 +38,8 @@ extern "C" { #endif -void GetI18nStr(PCHAR section, PCHAR key, PCHAR buf, int buf_len, PCHAR def, const char *iniFile); -int GetI18nLogfont(PCHAR section, PCHAR key, PLOGFONT logfont, int ppi, const char *iniFile); +void WINAPI GetI18nStr(PCHAR section, PCHAR key, PCHAR buf, int buf_len, PCHAR def, const char *iniFile); +int WINAPI GetI18nLogfont(PCHAR section, PCHAR key, PLOGFONT logfont, int ppi, const char *iniFile); #ifdef __cplusplus }