From 9ac5a964084230477a3dfb541108baa1076bfecd Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 14 Oct 2021 10:52:24 +0200 Subject: [PATCH] Update rmodels.c --- src/rmodels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rmodels.c b/src/rmodels.c index acfdd2839..1b6c659f1 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -4555,7 +4555,7 @@ static unsigned char *DecodeBase64(char *data, int *outputLength) { if (data[4*i + 3] == '=') { - if (data[4*i + 2] == '=') size += 1; + if (data[4*i + 2] == '=') outLength += 1; else outLength += 2; } else outLength += 3;