Remove the tab hack completely
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
67854a7efd
commit
ebc1af345d
@ -526,14 +526,6 @@ void ScalableFont::draw(const core::stringw& text,
|
||||
{
|
||||
wchar_t c = text[i];
|
||||
|
||||
//hack: one tab character is supported, it moves the cursor to the tab stop
|
||||
if (c == L'\t')
|
||||
{
|
||||
offset.X = (int)(position.UpperLeftCorner.X +
|
||||
position.getWidth()*m_tab_stop);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (c == L'\r' || // Windows breaks
|
||||
c == L'\n' ) // Unix breaks
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user