summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rmodels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmodels.c b/src/rmodels.c
index acfdd283..1b6c659f 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;