diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:20:07 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:20:07 +0200 |
commit | 88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170 (patch) | |
tree | c6c5babb49b90293380106b81ae5c446959ac70f /zen/privilege.cpp | |
parent | 5.3 (diff) | |
download | FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.tar.gz FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.tar.bz2 FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.zip |
5.4
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; } |