diff options
Diffstat (limited to 'win32/ScintillaWin.cxx')
| -rw-r--r-- | win32/ScintillaWin.cxx | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 2cdec07d7..d35884dd9 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -328,7 +328,7 @@ class ScintillaWin :  	bool ValidCodePage(int codePage) const override;  	sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) override;  	bool SetIdle(bool on) override; -	UINT_PTR timers[tickDwell+1]; +	UINT_PTR timers[tickDwell+1] {};  	bool FineTickerRunning(TickReason reason) override;  	void FineTickerStart(TickReason reason, int millis, int tolerance) override;  	void FineTickerCancel(TickReason reason) override; @@ -488,9 +488,6 @@ void ScintillaWin::Init() {  		SetCoalescableTimerFn = (SetCoalescableTimerSig)::GetProcAddress(user32, "SetCoalescableTimer");  	} -	for (TickReason tr = tickCaret; tr <= tickDwell; tr = static_cast<TickReason>(tr + 1)) { -		timers[tr] = 0; -	}  	vs.indicators[SC_INDICATOR_UNKNOWN] = Indicator(INDIC_HIDDEN, ColourDesired(0, 0, 0xff));  	vs.indicators[SC_INDICATOR_INPUT] = Indicator(INDIC_DOTS, ColourDesired(0, 0, 0xff));  	vs.indicators[SC_INDICATOR_CONVERTED] = Indicator(INDIC_COMPOSITIONTHICK, ColourDesired(0, 0, 0xff)); | 
