fix possible buffer overflow in _ui_draw_win_title
Merge pull request #117 from pasis/fixes

Fix possible buffer overflow in _ui_draw_win_title