Fix draw_lineno to always set the static format buffer