From 606a797608ef96ddc82385f57bd680b12d922acd Mon Sep 17 00:00:00 2001 From: shimitei Date: Wed, 9 Jun 2021 22:49:14 +0900 Subject: [PATCH] =?utf8?q?[Fix]=20Windows=E7=89=88=E3=81=AE=E3=83=9E?= =?utf8?q?=E3=83=AB=E3=83=81=E3=83=90=E3=82=A4=E3=83=88/=E3=83=AF=E3=82=A4?= =?utf8?q?=E3=83=89=E6=96=87=E5=AD=97=E5=88=97=E5=A4=89=E6=8F=9B=E3=81=AE?= =?utf8?q?=E3=83=A1=E3=83=A2=E3=83=AA=E3=83=AA=E3=83=BC=E3=82=AF=E4=BF=AE?= =?utf8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main-win/main-win-utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main-win/main-win-utils.h b/src/main-win/main-win-utils.h index a2311b3bf..93344d487 100644 --- a/src/main-win/main-win-utils.h +++ b/src/main-win/main-win-utils.h @@ -50,7 +50,7 @@ protected: void kill() { - if (!buf) { + if (buf) { C_KILL(buf, buf_size, WCHAR); buf = NULL; } @@ -100,7 +100,7 @@ protected: void kill() { - if (!buf) { + if (buf) { C_KILL(buf, buf_size, char); buf = NULL; } -- 2.11.0