mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Replace post-increment with pre-increment
And post-decrement with pre-decrement.
This commit is contained in:
parent
40330c4606
commit
5ddbf9bba9
16 changed files with 58 additions and 58 deletions
|
@ -867,7 +867,7 @@ namespace
|
|||
LONG res = ::RegQueryInfoKeyW(handle, NULL, NULL, NULL, &cSubKeys, &cMaxSubKeyLen, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
if (res == ERROR_SUCCESS) {
|
||||
cMaxSubKeyLen++; // For null character
|
||||
++cMaxSubKeyLen; // For null character
|
||||
LPWSTR lpName = new WCHAR[cMaxSubKeyLen];
|
||||
DWORD cName;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue