• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++objective-ccocoa誰得c#linuxgamebathyscaphephp翻訳qtpythonrubycwindowsomegattwitterguiframeworkbtronarduinovb.netdirectxtestゲームエンジンdom計画中(planning stage)previewer

Tera Termの個人的な作業用リポジトリ


Commit MetaInfo

Revisiond60c3cbeeec50b1b3d15031ad94ac226f0743e9c (tree)
Time2018-09-15 13:56:13
Authorzmatsuo <zmatsuo@user...>
Commiterzmatsuo

Log Message

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

git-svn-id: svn+ssh://svn.osdn.net/svnroot/ttssh2/trunk@7241 f5f01b69-1e22-0410-acbf-894ab4bd6246

Change Summary

Incremental Difference

--- a/teraterm/common/i18n.c
+++ b/teraterm/common/i18n.c
@@ -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];
--- a/teraterm/common/i18n.h
+++ b/teraterm/common/i18n.h
@@ -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 }