From dce4721c842b4f8630a566afa1ea51f7f08ad586 Mon Sep 17 00:00:00 2001 From: "Mario J. Rugiero" Date: Sat, 20 Dec 2014 01:05:49 -0300 Subject: TextBox::textStartPos can be const. --- src/FbTk/TextBox.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FbTk/TextBox.hh b/src/FbTk/TextBox.hh index 7b42bd1..40a7c3c 100644 --- a/src/FbTk/TextBox.hh +++ b/src/FbTk/TextBox.hh @@ -63,7 +63,7 @@ public: const Font &font() const { return *m_font; } GC gc() const { return m_gc; } int cursorPosition() const { return m_cursor_pos; } - int textStartPos(){ return m_start_pos; } + int textStartPos() const { return m_start_pos; } unsigned int findEmptySpaceLeft(); unsigned int findEmptySpaceRight(); -- cgit v0.11.2