summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/tabmodplus/modplus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-20 17:00:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-20 17:00:14 +0000
commit30ab6ceb71842f003f649b3d62b89af010cf40d1 (patch)
treeb1dae7a6d545cdf622a165ba4c576d3a41d71221 /plugins/TabSRMM/tabmodplus/modplus.cpp
parent65461e7b4edb683cc09086fdaf49e0c2ef918bd4 (diff)
- direct call of MS_SKIN_ADDNEWSOUND replaced with Skin_AddSound() call;
- obsolete structure SKINSOUNDDESC removed - dynamically translated hot keys; - checked correct LPGEN'ing of the sounds creation; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@500 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/tabmodplus/modplus.cpp')
-rw-r--r--plugins/TabSRMM/tabmodplus/modplus.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/tabmodplus/modplus.cpp b/plugins/TabSRMM/tabmodplus/modplus.cpp
index 8ac2e5d698..ce9e863f34 100644
--- a/plugins/TabSRMM/tabmodplus/modplus.cpp
+++ b/plugins/TabSRMM/tabmodplus/modplus.cpp
@@ -63,7 +63,7 @@ static char* getMirVer(HANDLE hContact)
if ( !szProto )
return (NULL);
- if ( !DBGetContactSettingString(hContact, szProto, "MirVer", &dbv) ) {
+ if ( !DBGetContactSettingString(hContact, szProto, "MirVer", &dbv)) {
msg=mir_strdup(dbv.pszVal);
DBFreeVariant(&dbv);
}
@@ -76,7 +76,7 @@ static TCHAR* getMenuEntry(int i) {
DBVARIANT dbv = {0};
mir_snprintf(MEntry, 255, "MenuEntry_%u", i);
- if ( !M->GetTString(NULL, "tabmodplus",MEntry, &dbv) ) {
+ if ( !M->GetTString(NULL, "tabmodplus",MEntry, &dbv)) {
msg = mir_tstrdup(dbv.ptszVal);
DBFreeVariant(&dbv);
}
@@ -121,7 +121,7 @@ int ModPlus_PreShutdown(WPARAM wparam, LPARAM lparam)
static int RegisterCustomButton(WPARAM wParam,LPARAM lParam)
{
- if ( ServiceExists(MS_BB_ADDBUTTON) ) {
+ if ( ServiceExists(MS_BB_ADDBUTTON)) {
BBButton bbd = {0};
bbd.cbSize = sizeof(BBButton);
bbd.bbbFlags = BBBF_ISIMBUTTON|BBBF_ISLSIDEBUTTON|BBBF_ISPUSHBUTTON;
@@ -261,7 +261,7 @@ int ModPlus_Init(WPARAM wparam,LPARAM lparam)
hEventCBButtonPressed=HookEvent(ME_MSG_BUTTONPRESSED,CustomButtonPressed);
hEventCBInit=HookEvent(ME_MSG_TOOLBARLOADED,RegisterCustomButton);
- if (PluginConfig.g_bClientInStatusBar&&ServiceExists(MS_MSG_ADDICON) ) {
+ if (PluginConfig.g_bClientInStatusBar&&ServiceExists(MS_MSG_ADDICON)) {
StatusIconData sid = {0};
sid.cbSize = sizeof(sid);
sid.szModule = (char *)"tabmodplus";