diff options
Diffstat (limited to 'zen/privilege.cpp')
-rw-r--r-- | zen/privilege.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/privilege.cpp b/zen/privilege.cpp index 69c820f3..9d8f12a0 100644 --- a/zen/privilege.cpp +++ b/zen/privilege.cpp @@ -36,7 +36,7 @@ bool privilegeIsActive(LPCTSTR privilege) //throw FileError &alreadyGranted)) //__out LPBOOL pfResult throw FileError(replaceCpy(_("Cannot set privilege %x."), L"%x", std::wstring(L"\"") + privilege + L"\"") + L"\n\n" + getLastErrorFormatted()); - return alreadyGranted == TRUE; + return alreadyGranted != FALSE; } |