From b3e1abaaef202afc08c92f589819bf859664d326 Mon Sep 17 00:00:00 2001 From: zmatsuo <6488847+zmatsuo@users.noreply.github.com> Date: Sun, 21 Jul 2024 01:17:08 +0900 Subject: [PATCH] =?UTF-8?q?=E8=AA=A4=E3=81=A3=E3=81=A6=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E3=81=AA=20define=20=E3=82=92=E5=89=8A=E9=99=A4=E3=81=97?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=9F=E3=81=AE=E3=81=A7=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - a5ad62332bc767d40d5c915db5e90645047534a0 - WritePrivateProfileString() の置換が3段になっていた WritePrivateProfileString() ↓ WritePrivateProfileStringA() ↓ WritePrivateProfileStringAFileW() - WritePrivateProfileString() の置換を2段に変更(少しわかりやすくした) WritePrivateProfileString() ↓ WritePrivateProfileStringAFileW() --- ttssh2/ttxssh/ttxssh.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ttssh2/ttxssh/ttxssh.c b/ttssh2/ttxssh/ttxssh.c index 572f50aed..c8083975c 100644 --- a/ttssh2/ttxssh/ttxssh.c +++ b/ttssh2/ttxssh/ttxssh.c @@ -123,8 +123,10 @@ static OSSL_PROVIDER *default_provider = NULL; TTEndDialog(p1, p2) #undef GetPrivateProfileInt #undef GetPrivateProfileString +#undef WritePrivateProfileString #define GetPrivateProfileInt(p1, p2, p3, p4) GetPrivateProfileIntAFileW(p1, p2, p3, p4) #define GetPrivateProfileString(p1, p2, p3, p4, p5, p6) GetPrivateProfileStringAFileW(p1, p2, p3, p4, p5, p6) +#define WritePrivateProfileString(p1, p2, p3, p4) WritePrivateProfileStringAFileW(p1, p2, p3, p4) /* This extension implements SSH, so we choose a load order in the "protocols" range. */