fix comment on bug
This commit is contained in:
parent
da18a1ae0b
commit
00b77202e3
@ -18,7 +18,7 @@ char* encode(const char* input) {
|
||||
last = (unsigned char)input[i]; count = 1;
|
||||
}
|
||||
}
|
||||
encoded[pos++] = last; encoded[pos++] = 65; // Should be count, not 65!
|
||||
encoded[pos++] = last; encoded[pos++] = 65; // Should be 64 + count
|
||||
}
|
||||
encoded[pos] = '\0';
|
||||
return encoded;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user