Remove redundant conditionals

This commit is contained in:
Paul Cornett
2019-04-05 09:06:06 -07:00
parent 0dfe0d0a9c
commit 6a35140686
4 changed files with 5 additions and 27 deletions

View File

@@ -161,10 +161,7 @@ void MainWindow::ScanBuffer(wxDC *dc, bool DrawIt, int *max_x, int *max_y)
y = (*max_y - poem_height)/2;
width = *max_x;
height = *max_y;
}
if (DrawIt)
{
dc->SetBrush(*wxLIGHT_GREY_BRUSH);
dc->SetPen(*wxGREY_PEN);
dc->DrawRectangle(0, 0, width, height);