diff options
Diffstat (limited to 'win32/ScintillaWin.cxx')
| -rw-r--r-- | win32/ScintillaWin.cxx | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 8007dc664..ef933afdc 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -486,7 +486,7 @@ ScintillaWin::ScintillaWin(HWND hwnd) {  	linesPerScroll = 0;  	wheelDelta = 0;   // Wheel delta from roll -	hRgnUpdate = 0; +	hRgnUpdate = {};  	hasOKText = false; @@ -510,7 +510,7 @@ ScintillaWin::ScintillaWin(HWND hwnd) {  	ds.sci = this;  	dt.sci = this; -	sysCaretBitmap = 0; +	sysCaretBitmap = {};  	sysCaretWidth = 0;  	sysCaretHeight = 0; @@ -910,7 +910,7 @@ sptr_t ScintillaWin::WndPaint() {  	}  	if (hRgnUpdate) {  		::DeleteRgn(hRgnUpdate); -		hRgnUpdate = 0; +		hRgnUpdate = {};  	}  	::EndPaint(MainHWND(), &ps); @@ -3059,7 +3059,7 @@ void ScintillaWin::FullPaint() {  		FullPaintDC(hdc);  		::ReleaseDC(MainHWND(), hdc);  	} else { -		FullPaintDC(0); +		FullPaintDC({});  	}  } @@ -3336,7 +3336,7 @@ BOOL ScintillaWin::DestroySystemCaret() noexcept {  	const BOOL retval = ::DestroyCaret();  	if (sysCaretBitmap) {  		::DeleteObject(sysCaretBitmap); -		sysCaretBitmap = 0; +		sysCaretBitmap = {};  	}  	return retval;  }  | 
