diff options
Diffstat (limited to 'src/LYHash.h')
-rw-r--r-- | src/LYHash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/LYHash.h b/src/LYHash.h index f8aaf4a2..448fe42c 100644 --- a/src/LYHash.h +++ b/src/LYHash.h @@ -80,6 +80,7 @@ extern "C" { #define CACHEH 64 extern unsigned cached_styles[CACHEH][CACHEW]; +#define CACHE_VALIDATE_YX(y, x) ((y) >= 0 && (x) >= 0 && (y) < CACHEH && (x) < CACHEW) #ifdef __cplusplus } |