mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-10-31 15:20:13 +00:00
uniblock demo: properly set progress
This commit is contained in:
parent
f729d855f9
commit
8824495924
@ -281,7 +281,7 @@ int unicodeblocks_demo(struct notcurses* nc){
|
||||
return -1;
|
||||
}
|
||||
int err;
|
||||
if( (err = fade_block(nc, nn, &subdelay, pbar, sindex, sizeof(blocks) / sizeof(*blocks))) ){ // destroys nn
|
||||
if( (err = fade_block(nc, nn, &subdelay, pbar, sindex + 1, sizeof(blocks) / sizeof(*blocks))) ){ // destroys nn
|
||||
return err;
|
||||
}
|
||||
// for a 32-bit wchar_t, we would want up through 24 bits of block ID. but
|
||||
|
Loading…
Reference in New Issue
Block a user