From afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 28 Jan 2011 20:49:24 +0200 Subject: Fix code style and some new compilation warnings. --- src/gui/widgets/textfield.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/textfield.cpp') diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index e7c181de2..67339e361 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -300,7 +300,7 @@ void TextField::handlePaste() std::string text = getText(); std::string::size_type caretPos = getCaretPosition(); - if (RetrieveBuffer(text, caretPos)) + if (retrieveBuffer(text, caretPos)) { setText(text); setCaretPosition(static_cast(caretPos)); -- cgit v1.2.3-70-g09d2