mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
[windows] get animate demo working
This commit is contained in:
parent
7f7edcce87
commit
c514d2a01c
@ -143,11 +143,11 @@ spin_cycle(const char* utf8, int iters){
|
||||
return offsets[iters % o];
|
||||
}
|
||||
if(o == sizeof(offsets) / sizeof(*offsets)){
|
||||
break;
|
||||
return offsets[iters % o]; // FIXME?
|
||||
}
|
||||
offsets[o] = offset;
|
||||
offset += s;
|
||||
if(++o == iters){
|
||||
if(o++ == iters){
|
||||
return offsets[iters % o];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user