From 648889dcb78b0100562c6b28dda7055b3875f2c3 Mon Sep 17 00:00:00 2001 From: Don HO Date: Sun, 12 Jan 2020 19:35:38 +0100 Subject: [PATCH] Remove a warning of compiling --- PowerEditor/src/Notepad_plus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 17a5682c..0c441762 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -172,7 +172,7 @@ Notepad_plus::Notepad_plus() else is_admin = false; - nppParam.setAdminMode(is_admin); + nppParam.setAdminMode(is_admin == TRUE); _isAdministrator = is_admin ? true : false; }