diff options
author | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-09 15:06:03 +0200 |
---|---|---|
committer | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-12 12:52:02 +0200 |
commit | 231fec7ca2f61da7d94c8aa072b41fd7ee893861 (patch) | |
tree | ab57dfa7050addd53d82f2040f4cddc8b3d3b17c /src/corelib/io/qstandardpaths_win.cpp | |
parent | 651d7debe1effb1288194344cd4ec82377092a5b (diff) |
corelib: Fix typos in source code comments
Pick-to: 6.2
Change-Id: Ic78afb67143112468c6f84677ac88f27a74b53aa
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/io/qstandardpaths_win.cpp')
-rw-r--r-- | src/corelib/io/qstandardpaths_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qstandardpaths_win.cpp b/src/corelib/io/qstandardpaths_win.cpp index e619687a8b..60d65f4216 100644 --- a/src/corelib/io/qstandardpaths_win.cpp +++ b/src/corelib/io/qstandardpaths_win.cpp @@ -108,7 +108,7 @@ static bool isProcessLowIntegrity() { auto* token_info = reinterpret_cast<TOKEN_MANDATORY_LABEL*>(token_info_buf.data()); DWORD token_info_length = token_info_buf.size(); if (!GetTokenInformation(process_token, TokenIntegrityLevel, token_info, token_info_length, &token_info_length)) { - // grow bufer and retry GetTokenInformation + // grow buffer and retry GetTokenInformation token_info_buf.resize(token_info_length); token_info = reinterpret_cast<TOKEN_MANDATORY_LABEL*>(token_info_buf.data()); if (!GetTokenInformation(process_token, TokenIntegrityLevel, token_info, token_info_length, &token_info_length)) |