Whoops. Fix bug for non-3byte fonts. Why did I hardcode this?

This commit is contained in:
Stefan `Sec` Zehl 2011-05-22 20:32:23 +02:00
parent 5b29d9b6f0
commit 1bfcc7baf6
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ uint8_t * pk_decode(const uint8_t * ldata,int * len){
if((bufptr-buf)%height==0){ // End of column?
while(repeat>0){
for(int y=0;y<height;y++){
bufptr[0]=bufptr[-3];
bufptr[0]=bufptr[-height];
bufptr++;
};
repeat--;