• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision7241 (tree)
Time2018-09-15 13:56:13
Authorzmatsuo

Log Message

r7148で削除したPASCALのかわりにWINAPIを追加

Change Summary

Incremental Difference

--- trunk/teraterm/common/i18n.c (revision 7240)
+++ trunk/teraterm/common/i18n.c (revision 7241)
@@ -28,13 +28,13 @@
2828
2929 #include "i18n.h"
3030
31-void GetI18nStr(PCHAR section, PCHAR key, PCHAR buf, int buf_len, PCHAR def, const char *iniFile)
31+void WINAPI GetI18nStr(PCHAR section, PCHAR key, PCHAR buf, int buf_len, PCHAR def, const char *iniFile)
3232 {
3333 GetPrivateProfileString(section, key, def, buf, buf_len, iniFile);
3434 RestoreNewLine(buf);
3535 }
3636
37-int GetI18nLogfont(PCHAR section, PCHAR key, PLOGFONT logfont, int ppi, const char *iniFile)
37+int WINAPI GetI18nLogfont(PCHAR section, PCHAR key, PLOGFONT logfont, int ppi, const char *iniFile)
3838 {
3939 static char tmp[MAX_UIMSG];
4040 static char font[LF_FACESIZE];
--- trunk/teraterm/common/i18n.h (revision 7240)
+++ trunk/teraterm/common/i18n.h (revision 7241)
@@ -38,8 +38,8 @@
3838 extern "C" {
3939 #endif
4040
41-void GetI18nStr(PCHAR section, PCHAR key, PCHAR buf, int buf_len, PCHAR def, const char *iniFile);
42-int GetI18nLogfont(PCHAR section, PCHAR key, PLOGFONT logfont, int ppi, const char *iniFile);
41+void WINAPI GetI18nStr(PCHAR section, PCHAR key, PCHAR buf, int buf_len, PCHAR def, const char *iniFile);
42+int WINAPI GetI18nLogfont(PCHAR section, PCHAR key, PLOGFONT logfont, int ppi, const char *iniFile);
4343
4444 #ifdef __cplusplus
4545 }
Show on old repository browser