summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorrandom-geek <35757396+random-geek@users.noreply.github.com>2019-10-23 17:17:00 -0700
committerParamat <paramat@users.noreply.github.com>2019-10-24 01:17:00 +0100
commit53ebd803c613949a3f30fb4a905192c85dc73851 (patch)
treebdd5a60a98a7170d67612be7ec883a18cd99a604 /src/gui
parent1f142ec06fc146464822a322fdf39bddb680bfe6 (diff)
downloadminetest-53ebd803c613949a3f30fb4a905192c85dc73851.tar.gz
minetest-53ebd803c613949a3f30fb4a905192c85dc73851.tar.bz2
minetest-53ebd803c613949a3f30fb4a905192c85dc73851.zip
Change some rough/inappropriate language in comments (#9061)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/guiEditBoxWithScrollbar.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/guiEditBoxWithScrollbar.cpp b/src/gui/guiEditBoxWithScrollbar.cpp
index 2f909f54f..442406688 100644
--- a/src/gui/guiEditBoxWithScrollbar.cpp
+++ b/src/gui/guiEditBoxWithScrollbar.cpp
@@ -1109,10 +1109,13 @@ void GUIEditBoxWithScrollBar::breakText()
m_broken_text_positions.push_back(last_line_start);
}
-// TODO: that function does interpret VAlign according to line-index (indexed line is placed on top-center-bottom)
-// but HAlign according to line-width (pixels) and not by row.
-// Intuitively I suppose HAlign handling is better as VScrollPos should handle the line-scrolling.
-// But please no one change this without also rewriting (and this time fucking testing!!!) autoscrolling (I noticed this when fixing the old autoscrolling).
+// TODO: that function does interpret VAlign according to line-index (indexed
+// line is placed on top-center-bottom) but HAlign according to line-width
+// (pixels) and not by row.
+// Intuitively I suppose HAlign handling is better as VScrollPos should handle
+// the line-scrolling.
+// But please no one change this without also rewriting (and this time
+// testing!!!) autoscrolling (I noticed this when fixing the old autoscrolling).
void GUIEditBoxWithScrollBar::setTextRect(s32 line)
{
if (line < 0)