or to ||.

This commit is contained in:
Relintai 2022-04-16 02:58:02 +02:00
parent d0af0cb360
commit 79aa630959

View File

@ -72,7 +72,7 @@ void PaintCanvasLayer::resize(const int width, const int height) {
for (int x = 0; x < prev_width; ++x) { for (int x = 0; x < prev_width; ++x) {
for (int y = 0; y < prev_height; ++y) { for (int y = 0; y < prev_height; ++y) {
if (x >= width or y >= height) { if (x >= width || y >= height) {
continue; continue;
} }