We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c11cf6 commit 8e72d9aCopy full SHA for 8e72d9a
decode.c
@@ -43,10 +43,9 @@ void getWord(uint16_t n, char* buffer) {
43
*buffer = 0;
44
return;
45
}
46
- n -= w->wordNumber;
47
currentWord = 0;
48
blobPtr = wordBlob + w->blobOffset;
49
- for (uint16_t j=0; j<=n; j++) {
+ for (uint16_t j = n - w->wordNumber + 1; j; j--) {
50
updateWord();
51
52
decodeWord(i, currentWord, buffer);
0 commit comments