diff options
Diffstat (limited to 'src/win.c')
-rw-r--r-- | src/win.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1326,7 +1326,7 @@ puglSetPosition(PuglView* const view, const int x, const int y) PuglStatus puglSetSize(PuglView* const view, const unsigned width, const unsigned height) { - if (width > INT16_MAX || height > INT16_MAX) { + if (!puglIsValidSize(width, height)) { return PUGL_BAD_PARAMETER; } |