> - for(++x; x < term.col && !term.tabs[x]; ++x) > + while(++x < term.col && !term.tabs[x]) ... > - for(--x; x > 0 && !term.tabs[x]; --x) > + while(--x > 0 && !term.tabs[x])
I'm sorry, but this patch is incorrect, because it is implementation defined when side effects of expressions are applied, so x of !term.tabs[x] can be x before decrement, or x after decrement. Regards, -- Roberto E. Vargas Caballero
