diff --git a/include/internal/cef_types_wrappers.h b/include/internal/cef_types_wrappers.h index f7bc56840..3f0a9a9b4 100644 --- a/include/internal/cef_types_wrappers.h +++ b/include/internal/cef_types_wrappers.h @@ -160,7 +160,7 @@ class CefPoint : public CefStructBase { Set(x, y); } - bool IsEmpty() const { return x <= 0 || x <= 0; } + bool IsEmpty() const { return x <= 0 && y <= 0; } void Set(int x, int y) { this->x = x, this->y = y; }