Fix buffer underflow in _vsb_indent
If s_indent > 0 and the buffer is empty, it would check s_buf[-1] for the '\n' character. Now it will indent either on previous character being a newline, or on empty buffer. This allows indenting also the very first line of a buffer.
Showing
Please register or sign in to comment