From 98d69dc68a2378ff28302da0cabec531bc14cdaa Mon Sep 17 00:00:00 2001 From: "C.Ponapalt" Date: Sun, 13 Feb 2022 05:58:27 +0900 Subject: [PATCH] Tc569-6 / fix bug for SETTAMAHWND --- aya5.rc | 4 ++-- log.cpp | 5 +++-- manifest.cpp | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/aya5.rc b/aya5.rc index b099ee28..64800954 100644 --- a/aya5.rc +++ b/aya5.rc @@ -28,7 +28,7 @@ LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT // VS_VERSION_INFO VERSIONINFO - FILEVERSION 5,69,5,0 + FILEVERSION 5,69,6,0 PRODUCTVERSION 5,0,0,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG @@ -47,7 +47,7 @@ BEGIN VALUE "Comments", "YAYA\0" VALUE "CompanyName", "YAYA Development Team\0" VALUE "FileDescription", "yaya\0" - VALUE "FileVersion", "5, 69, 5, 0\0" + VALUE "FileVersion", "5, 69, 6, 0\0" VALUE "InternalName", "Yet Another AYA5\0" VALUE "LegalCopyright", " \0" VALUE "LegalTrademarks", " \0" diff --git a/log.cpp b/log.cpp index c31d8b15..1d8d1906 100644 --- a/log.cpp +++ b/log.cpp @@ -41,8 +41,8 @@ void CLog::Start(const yaya::string_t &p, int cs, HWND hw, char il) { iolog = il; - if ( open ) { - if ( path != p || charset != cs ) { + if( open ) { + if(path != p || charset != cs || hw != hWnd) { Termination(); } else { @@ -80,6 +80,7 @@ void CLog::Start(const yaya::string_t &p, int cs, HWND hw, char il) } else { fileen = 0; + enable = 1; if( loghandler == NULL #if defined(WIN32) diff --git a/manifest.cpp b/manifest.cpp index e78e9bc8..420b9d4c 100644 --- a/manifest.cpp +++ b/manifest.cpp @@ -8,7 +8,7 @@ #include "manifest.h" const yaya::char_t *aya_name = L"YAYA"; -const yaya::char_t *aya_version = L"Tc569-5"; +const yaya::char_t *aya_version = L"Tc569-6"; const yaya::char_t *aya_author = L"umeici/The Maintenance Shop";