diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-28 20:49:24 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-28 20:49:24 +0200 |
commit | afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce (patch) | |
tree | c74d0f6e0a0000274ece2d663ed90a83459191a0 /src/gui/widgets/textfield.cpp | |
parent | 8d3b46c492cade8504fafedbd6c00b6a39968388 (diff) | |
download | manaplus-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.gz manaplus-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.bz2 manaplus-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.xz manaplus-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.zip |
Fix code style and some new compilation warnings.
Diffstat (limited to 'src/gui/widgets/textfield.cpp')
-rw-r--r-- | src/gui/widgets/textfield.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<unsigned>(caretPos)); |