From 6663b7ce90df0de2241e99598f62aebb4aff4fd1 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Sat, 7 Sep 2024 15:16:34 +0300 Subject: chore: fix grammar errors in comments Mostly missing articles --- plugins/AVS/src/services.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/AVS/src') 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"")) { -- cgit v1.2.3