diff options
Diffstat (limited to 'src/win.c')
-rw-r--r-- | src/win.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1127,7 +1127,7 @@ puglSetSizeHint(PuglView* const view, const PuglSpan width, const PuglSpan height) { - if ((unsigned)hint > (unsigned)PUGL_MAX_ASPECT) { + if ((unsigned)hint >= PUGL_NUM_SIZE_HINTS) { return PUGL_BAD_PARAMETER; } |