diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-11 15:20:06 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-11 15:20:06 +0000 |
commit | a9197f5d5921263a042979b0d14fc2c61e411320 (patch) | |
tree | 3bcc91deb4c5238025f41aa24af58a378d066e6e /plugins/WhenWasIt/src/icons.cpp | |
parent | 6f8c7b4f1bf939c43e2fe124a01e9bec2b672616 (diff) |
minus CreateThread
git-svn-id: http://svn.miranda-ng.org/main/trunk@13543 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt/src/icons.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/icons.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/WhenWasIt/src/icons.cpp b/plugins/WhenWasIt/src/icons.cpp index 3a9d670b8a..e3dac6f51f 100644 --- a/plugins/WhenWasIt/src/icons.cpp +++ b/plugins/WhenWasIt/src/icons.cpp @@ -24,10 +24,10 @@ HANDLE hCheckMenu, hListMenu, hAddBirthdayContact, hRefreshUserDetails; HANDLE hImportBirthdays, hExportBirthdays;
const int cDTB = 10;
-HANDLE hDTB[cDTB] = {NULL};
+HANDLE hDTB[cDTB] = { NULL };
HANDLE hDTBMore = NULL;
-HANDLE hWWIExtraIcons = (HANDLE) -1;
+HANDLE hWWIExtraIcons = (HANDLE)-1;
static HANDLE AddIcon(char *name, char *description, TCHAR *tszPath, int iDefaultIdx)
{
@@ -62,7 +62,7 @@ int AddIcons() for (int i = 2; i < cDTB; i++) {
mir_snprintf(name, SIZEOF(name), "DTB%d", i);
mir_snprintf(description, SIZEOF(description), Translate("%d days to birthday"), i);
- hDTB[i] = AddIcon(name, description, tszPath, IDI_DTB0+i);
+ hDTB[i] = AddIcon(name, description, tszPath, IDI_DTB0 + i);
}
mir_snprintf(description, SIZEOF(description), Translate("More than %d days to birthday"), cDTB - 1);
hDTBMore = AddIcon("DTBMore", description, tszPath, IDI_DTBMORE);
|