diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/AVS/src/services.cpp | 8 | ||||
| -rw-r--r-- | plugins/Clist_modern/src/modern_awaymsg.cpp | 4 | ||||
| -rw-r--r-- | plugins/Clist_modern/src/modern_clc.cpp | 2 | ||||
| -rw-r--r-- | plugins/Clist_modern/src/modern_clcpaint.cpp | 6 | ||||
| -rw-r--r-- | plugins/Clist_modern/src/modern_skinselector.cpp | 2 | ||||
| -rw-r--r-- | plugins/ContactsPlus/src/send.cpp | 2 |
6 files changed, 12 insertions, 12 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"")) {
diff --git a/plugins/Clist_modern/src/modern_awaymsg.cpp b/plugins/Clist_modern/src/modern_awaymsg.cpp index 449edd481a..ca9d6c7c54 100644 --- a/plugins/Clist_modern/src/modern_awaymsg.cpp +++ b/plugins/Clist_modern/src/modern_awaymsg.cpp @@ -43,7 +43,7 @@ static HANDLE hamProcessEvent = nullptr; static uint32_t amRequestTick = 0;
/*
-* Add contact handle to requests queue
+* Add a contact handle to request queue
*/
static int amAddHandleToChain(MCONTACT hContact)
{
@@ -58,7 +58,7 @@ static int amAddHandleToChain(MCONTACT hContact) }
/*
-* Gets handle from queue for request
+* Gets a handle from queue for request
*/
static MCONTACT amGetCurrentChain()
{
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp index b682a8d783..7c5a866e33 100644 --- a/plugins/Clist_modern/src/modern_clc.cpp +++ b/plugins/Clist_modern/src/modern_clc.cpp @@ -1368,7 +1368,7 @@ static LRESULT clcOnIntmIconChanged(ClcData *dat, HWND hwnd, UINT, WPARAM wParam }
}
else {
- // item in list already
+ // item is in the list already
if (contact && contact->iImage == lParam)
return 0;
diff --git a/plugins/Clist_modern/src/modern_clcpaint.cpp b/plugins/Clist_modern/src/modern_clcpaint.cpp index d68939e38e..0c62fb0dc2 100644 --- a/plugins/Clist_modern/src/modern_clcpaint.cpp +++ b/plugins/Clist_modern/src/modern_clcpaint.cpp @@ -599,7 +599,7 @@ void CLCPaint::_PaintRowItemsEx(HDC hdcMem, ClcData *dat, ClcContact *Drawing, R BOOL InClistWindow = (dat->hWnd == g_clistApi.hwndContactTree);
int height = RowHeight_CalcRowHeight(dat, Drawing, -1);
- // TO DO DEPRECATE OLD ROW LAYOUT
+ // TODO DEPRECATE OLD ROW LAYOUT
if (Drawing->type == CLCIT_GROUP &&
Drawing->group->parent->groupId == 0 &&
@@ -1540,7 +1540,7 @@ void CLCPaint::_CalcItemsPos(HDC hdcMem, ClcData *dat, ClcContact *Drawing, RECT if (rc.left < rc.right) // Store position
_StoreItemPos(Drawing, CIT_AVATAR, &rc);
- //TO DO: CALC avatar overlays
+ //TODO: CALC avatar overlays
}
break;
@@ -1957,7 +1957,7 @@ void CLCPaint::_CalcItemsPos(HDC hdcMem, ClcData *dat, ClcContact *Drawing, RECT *in_free_row_rc = free_row_rc;
*in_row_rc = row_rc;
- Drawing->ext_fItemsValid = FALSE; /*TO DO: correctly implement placement recalculation*/
+ Drawing->ext_fItemsValid = FALSE; //TODO: correctly implement placement recalculation
}
BOOL CLCPaint::__IsVisible(RECT *firtRect, RECT *secondRect)
diff --git a/plugins/Clist_modern/src/modern_skinselector.cpp b/plugins/Clist_modern/src/modern_skinselector.cpp index d38913453c..f4ca98a19a 100644 --- a/plugins/Clist_modern/src/modern_skinselector.cpp +++ b/plugins/Clist_modern/src/modern_skinselector.cpp @@ -161,7 +161,7 @@ static BOOL _GetParamValue(char *szText, unsigned int &start, unsigned int lengt if (state == STATE_VALUE) break;
except |= EXCEPTION_NOT_EQUAL;
exitLoop = TRUE;
- // fall trough
+ // fall through
case '=':
if (state == STATE_VALUE) break;
// search value end
diff --git a/plugins/ContactsPlus/src/send.cpp b/plugins/ContactsPlus/src/send.cpp index 71cdbe893a..f1efc7edb4 100644 --- a/plugins/ContactsPlus/src/send.cpp +++ b/plugins/ContactsPlus/src/send.cpp @@ -282,7 +282,7 @@ INT_PTR CALLBACK SendDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara break;
case MSGERROR_DONE:
- // contacts were delivered succesfully after timeout
+ // contacts were delivered successfully after timeout
SetFocus(GetDlgItem(hwndDlg, IDC_LIST));
wndData->UnhookProtoAck();
break;
|
