diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-18 23:45:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-18 23:45:53 +0300 |
commit | 50b5afdb7e68cdec8f77020b578dc3f6874933bb (patch) | |
tree | 29a0ba34403c2b8f04594ba76eb86f70f8a74c1d /src/gui/widgets/inttextfield.cpp | |
parent | f24b4360e73d45bc0830d2964c06e295890e5f18 (diff) | |
download | plus-50b5afdb7e68cdec8f77020b578dc3f6874933bb.tar.gz plus-50b5afdb7e68cdec8f77020b578dc3f6874933bb.tar.bz2 plus-50b5afdb7e68cdec8f77020b578dc3f6874933bb.tar.xz plus-50b5afdb7e68cdec8f77020b578dc3f6874933bb.zip |
fix compilation with SDL2.
Diffstat (limited to 'src/gui/widgets/inttextfield.cpp')
-rw-r--r-- | src/gui/widgets/inttextfield.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/inttextfield.cpp b/src/gui/widgets/inttextfield.cpp index 6d8eed228..160cfe5de 100644 --- a/src/gui/widgets/inttextfield.cpp +++ b/src/gui/widgets/inttextfield.cpp @@ -71,7 +71,7 @@ void IntTextField::keyPressed(KeyEvent &event) if (val != Key::TEXTINPUT) return; - const std::string str = event->getText(); + const std::string str = event.getText(); if (str.empty()) return; const size_t sz = str.size(); |