Fix possible buffer overflow in _ui_draw_win_title

Lines are too long. Maybe you'll rewrite them according to the coding style...