correct off-by-one error in initial tabstops so emacs renders properly

This commit is contained in:
Elden Tyrell 2017-10-16 03:50:11 -07:00
parent 3f8b2184a6
commit 4663133871

View File

@ -28,7 +28,7 @@ static inline void
init_tabstops(bool *tabstops, index_type count) {
// In terminfo we specify the number of initial tabstops (it) as 8
for (unsigned int t=0; t < count; t++) {
tabstops[t] = (t+1) % 8 == 0 ? true : false;
tabstops[t] = (t+0) % 8 == 0 ? true : false;
}
}