diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-17 13:39:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-17 13:39:30 +0300 |
commit | bc0b6bfb2734ce8355ddfb9b20461321c08a0b0c (patch) | |
tree | e3d8fdb4a5c1090d7efd21397679e2ed8803659e /plugins/SMS/src/receive.cpp | |
parent | 2444f74aeaa00db13dd0cdb44d694cad09620efa (diff) |
forgotten TCHAR removed
Diffstat (limited to 'plugins/SMS/src/receive.cpp')
-rw-r--r-- | plugins/SMS/src/receive.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SMS/src/receive.cpp b/plugins/SMS/src/receive.cpp index e5e0233eda..28ad76e8c0 100644 --- a/plugins/SMS/src/receive.cpp +++ b/plugins/SMS/src/receive.cpp @@ -234,12 +234,12 @@ int handleNewMessage(WPARAM hContact, LPARAM hDbEvent) mir_snwprintf(szToolTip, TranslateT("SMS Message from %s"), pcli->pfnGetContactDisplayName(hContact, 0));
CLISTEVENT cle = {};
- cle.flags = CLEF_TCHAR;
+ cle.flags = CLEF_UNICODE;
cle.hContact = hContact;
cle.hDbEvent = hDbEvent;
cle.hIcon = Skin_LoadIcon(SKINICON_OTHER_SMS);
cle.pszService = szServiceFunction;
- cle.ptszTooltip = szToolTip;
+ cle.szTooltip.w = szToolTip;
pcli->pfnAddEvent(&cle);
}
}
@@ -257,12 +257,12 @@ int handleNewMessage(WPARAM hContact, LPARAM hDbEvent) mir_snwprintf(szToolTip, TranslateT("SMS Confirmation from %s"), pcli->pfnGetContactDisplayName(hContact, 0));
CLISTEVENT cle = {};
- cle.flags = CLEF_TCHAR;
+ cle.flags = CLEF_UNICODE;
cle.hContact = hContact;
cle.hDbEvent = hDbEvent;
cle.hIcon = (HICON)LoadImage(ssSMSSettings.hInstance, MAKEINTRESOURCE(iIcon), IMAGE_ICON, 0, 0, LR_SHARED);
cle.pszService = szServiceFunction;
- cle.ptszTooltip = szToolTip;
+ cle.szTooltip.w = szToolTip;
pcli->pfnAddEvent(&cle);
}
}
|