[gui] Simplify SourceFileWindowDelegate::WindowDelegateDraw

instead of printf-ing into a buffer, and them using that buffer as a
format string, simply use the appropriate indirect format string.

This also fixes a -Wformat-truncation warning with gcc.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@354307 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed