[EU-FOSSA] Fix a crash bug on Macro execution with arbitrary parameters
This commit is contained in:
parent
011aa960fb
commit
194475ce64
@ -223,7 +223,13 @@ public:
|
|||||||
virtual void init(HINSTANCE hInst, HWND hPere);
|
virtual void init(HINSTANCE hInst, HWND hPere);
|
||||||
|
|
||||||
LRESULT execute(UINT Msg, WPARAM wParam=0, LPARAM lParam=0) const {
|
LRESULT execute(UINT Msg, WPARAM wParam=0, LPARAM lParam=0) const {
|
||||||
|
try {
|
||||||
return _pScintillaFunc(_pScintillaPtr, Msg, wParam, lParam);
|
return _pScintillaFunc(_pScintillaPtr, Msg, wParam, lParam);
|
||||||
|
}
|
||||||
|
catch (...)
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
void activateBuffer(BufferID buffer);
|
void activateBuffer(BufferID buffer);
|
||||||
|
Loading…
Reference in New Issue
Block a user