diff --git a/.gitignore b/.gitignore index e195dc2b..781f171c 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,8 @@ Makefile /src/libcolobotbase.a # Ignore the generated documentation +CMakeDoxyfile.in +CMakeDoxygenDefaults.cmake /doc /Doxyfile diff --git a/src/ui/controls/edit.cpp b/src/ui/controls/edit.cpp index 570bd518..cff76ccb 100644 --- a/src/ui/controls/edit.cpp +++ b/src/ui/controls/edit.cpp @@ -955,7 +955,7 @@ void CEdit::Draw() if ( i >= m_lineFirst+m_lineVisible ) break; - pos.x = m_pos.x+(7.5f/640.0f)*(m_fontSize/Gfx::FONT_SIZE_SMALL); + pos.x = m_pos.x+(7.5f/640.0f); if ( m_bAutoIndent ) { const char *s = "\t"; // line | dotted @@ -1117,7 +1117,7 @@ void CEdit::Draw() { if ( i == m_lineTotal-1 || m_cursor1 < m_lineOffset[i+1] ) { - pos.x = m_pos.x+(7.5f/640.0f)*(m_fontSize/Gfx::FONT_SIZE_SMALL); + pos.x = m_pos.x+(7.5f/640.0f); if ( m_bAutoIndent ) { pos.x += indentLength*m_lineIndent[i];