summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-04 16:05:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-04 16:05:56 +0300
commit00df22931e60ba32a66dd2fa2bf14e66cd89b961 (patch)
tree230706fb58309bee5b46d8ee86201e235d270302
parente230d5b323f08f9bf07cfd4822f22a22c22660b7 (diff)
code cleaning
-rw-r--r--plugins/TabSRMM/src/modplus.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/modplus.cpp b/plugins/TabSRMM/src/modplus.cpp
index 35341a6d60..b62dfaeafa 100644
--- a/plugins/TabSRMM/src/modplus.cpp
+++ b/plugins/TabSRMM/src/modplus.cpp
@@ -56,7 +56,8 @@ static int RegisterCustomButton(WPARAM, LPARAM)
bbd.hIcon = PluginConfig.g_buttonBarIconHandles[3];
bbd.pszModuleName = "Tabmodplus";
bbd.pwszTooltip = LPGENW("Insert [img] tag / surround selected text with [img][/img]");
- return Srmm_AddButton(&bbd);
+ Srmm_AddButton(&bbd);
+ return 0;
}
static int CustomButtonPressed(WPARAM wParam, LPARAM lParam)