mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 08:14:18 +02:00
Fixed Toolbar initialization code
It seems REBARBANDINFO.cbSize initialization logic got broken after migration to VS 2013 (last working version - 6.6.9) That leads to various problems related to toolbar logic (like missing chevron - #3385 or incorrect plugin toolbar placement #3094) Closes #3386, fixes #3385, fixes #3094
This commit is contained in:
parent
eb43167fbf
commit
e8e325b7c1
@ -165,11 +165,7 @@ private:
|
|||||||
#define MACRO_RECORDING_IN_PROGRESS 1
|
#define MACRO_RECORDING_IN_PROGRESS 1
|
||||||
#define MACRO_RECORDING_HAS_STOPPED 2
|
#define MACRO_RECORDING_HAS_STOPPED 2
|
||||||
|
|
||||||
#if _MSC_VER > 1400 // MS Compiler > VS 2005
|
|
||||||
#define REBARBAND_SIZE REBARBANDINFO_V3_SIZE
|
|
||||||
#else
|
|
||||||
#define REBARBAND_SIZE sizeof(REBARBANDINFO)
|
#define REBARBAND_SIZE sizeof(REBARBANDINFO)
|
||||||
#endif
|
|
||||||
|
|
||||||
generic_string PathRemoveFileSpec(generic_string & path);
|
generic_string PathRemoveFileSpec(generic_string & path);
|
||||||
generic_string PathAppend(generic_string &strDest, const generic_string & str2append);
|
generic_string PathAppend(generic_string &strDest, const generic_string & str2append);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user