Skip to content

Commit

Permalink
fix incorrect state reset after carriage return command
Browse files Browse the repository at this point in the history
  • Loading branch information
Waveplate committed Jun 11, 2024
1 parent b41af4e commit 41f2dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/sixel.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ uint32_t* ncsixel_as_rgba(const char *sx, unsigned leny, unsigned lenx){
--sx;
}else if(*sx == '$'){
x = 0;
state = STATE_WANT_HASH;
state = STATE_WANT_DATA;
}else if(*sx == '-'){
x = 0;
y += 6;
Expand Down

0 comments on commit 41f2dda

Please sign in to comment.