minor fix: uninitialized variables

This commit is contained in:
Roy Qu 2022-10-21 10:14:46 +08:00
parent 93ce54d688
commit 5d5f7027af
1 changed files with 2 additions and 2 deletions

View File

@ -248,8 +248,8 @@ QColor SynEditTextPainter::colEditorBG()
void SynEditTextPainter::computeSelectionInfo()
{
BufferCoord vStart;
BufferCoord vEnd;
BufferCoord vStart{0,0};
BufferCoord vEnd{0,0};
bAnySelection = false;
// Only if selection is visible anyway.
if (edit->hasFocus()) {