diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2024-09-07 15:16:34 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-07 16:53:18 +0300 |
commit | 6663b7ce90df0de2241e99598f62aebb4aff4fd1 (patch) | |
tree | e93b4ac6e583a63d20fcd3b5e6ff51045b29cf84 /plugins/AVS/src | |
parent | ea0011d6d970151303ff57f53f34224c9d0029aa (diff) |
chore: fix grammar errors in comments
Mostly missing articles
Diffstat (limited to 'plugins/AVS/src')
-rw-r--r-- | plugins/AVS/src/services.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/AVS/src/services.cpp b/plugins/AVS/src/services.cpp index 56219f6a70..50be9e70cb 100644 --- a/plugins/AVS/src/services.cpp +++ b/plugins/AVS/src/services.cpp @@ -46,7 +46,7 @@ INT_PTR ProtectAvatar(WPARAM hContact, LPARAM lParam) {
uint8_t was_locked = db_get_b(hContact, "ContactPhoto", "Locked", 0);
- if (was_locked == (uint8_t)lParam) // no need for redundant lockings...
+ if (was_locked == (uint8_t)lParam) // no need for redundant locks...
return 0;
if (hContact) {
@@ -62,8 +62,8 @@ INT_PTR ProtectAvatar(WPARAM hContact, LPARAM lParam) /*
* set an avatar (service function)
- * if lParam == NULL, a open file dialog will be opened, otherwise, lParam is taken as a FULL
- * image filename (will be checked for existance, though)
+ * if lParam == NULL, an open file dialog will be opened, otherwise, lParam is taken as a FULL
+ * image filename (will be checked for existence, though)
*/
struct OpenFileSubclassData
@@ -521,7 +521,7 @@ static int InternalSetMyAvatar(char *protocol, wchar_t *szFinalName, SetMyAvatar if (ret)
g_plugin.setByte("GlobalUserAvatarNotConsistent", 1);
else {
- // Copy avatar file to store as global one
+ // Copy an avatar file to store as global one
wchar_t globalFile[1024];
BOOL saved = TRUE;
if (FoldersGetCustomPathW(hGlobalAvatarFolder, globalFile, _countof(globalFile), L"")) {
|