Skip to content

Commit

Permalink
ReportIf() => ReportDebugIf() in MainWindow::GetViewPortSize()
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Aug 15, 2024
1 parent db8c2bb commit 9c60a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ void MainWindow::UpdateCanvasSize() {

Size MainWindow::GetViewPortSize() const {
Size size = canvasRc.Size();
ReportIf(size.IsEmpty());
ReportDebugIf(size.IsEmpty());

DWORD style = GetWindowLong(hwndCanvas, GWL_STYLE);
if ((style & WS_VSCROLL)) {
Expand Down

0 comments on commit 9c60a88

Please sign in to comment.