diff options
Diffstat (limited to 'tools/gbagfx/rl.c')
-rw-r--r-- | tools/gbagfx/rl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gbagfx/rl.c b/tools/gbagfx/rl.c index 968c934..993ac64 100644 --- a/tools/gbagfx/rl.c +++ b/tools/gbagfx/rl.c @@ -101,7 +101,7 @@ unsigned char *RLCompress(unsigned char *src, int srcSize, int *compressedSize) srcPos++; uncompressedLength++; } - + if (uncompressedLength > 0) { dest[destPos++] = uncompressedLength - 1; |