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; }