From e230d5b323f08f9bf07cfd4822f22a22c22660b7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Apr 2018 16:02:56 +0300 Subject: fix for adding separators into SRMM toolbar --- include/m_message.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/m_message.h b/include/m_message.h index d21bed5c7c..7c33127ce9 100644 --- a/include/m_message.h +++ b/include/m_message.h @@ -240,8 +240,8 @@ struct BBButton }; // adds a new toolbar button -// returns 0 on success and nonzero value otherwise -EXTERN_C MIR_APP_DLL(int) Srmm_AddButton(const BBButton *bbdi, int = hLangpack); +// returns button's handle on success or NULL otherwise +EXTERN_C MIR_APP_DLL(HANDLE) Srmm_AddButton(const BBButton *bbdi, int = hLangpack); // modifies the existing toolbar button // returns 0 on success and nonzero value otherwise -- cgit v1.2.3