From 09c0d67fadb098f06c47f925de2308202cb57a92 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 19 Apr 2004 18:57:30 +0000 Subject: minor fix for old gcc compiler --- src/FbTk/TextBox.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbTk/TextBox.cc b/src/FbTk/TextBox.cc index 6750aae..50f54fa 100644 --- a/src/FbTk/TextBox.cc +++ b/src/FbTk/TextBox.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: TextBox.cc,v 1.8 2004/03/18 14:33:09 fluxgen Exp $ +// $Id: TextBox.cc,v 1.9 2004/04/19 18:57:30 fluxgen Exp $ #include "TextBox.hh" #include "Font.hh" @@ -217,7 +217,7 @@ void TextBox::keyPressEvent(XKeyEvent &event) { break; case XK_c: cursorHome(); - m_text.clear(); + m_text = ""; adjustStartPos(); adjustEndPos(); break; -- cgit v0.11.2