summaryrefslogtreecommitdiff
path: root/src/eventsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-15 19:46:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-15 23:35:48 +0300
commit243932ef169949917f17d3107e00f97886da0a14 (patch)
tree8f11d6e99b250ff480a32b04ea3bbb0ce9bc7f14 /src/eventsmanager.cpp
parent3658d5a5564db6f0854ec9378c485aef8acc8992 (diff)
downloadplus-243932ef169949917f17d3107e00f97886da0a14.tar.gz
plus-243932ef169949917f17d3107e00f97886da0a14.tar.bz2
plus-243932ef169949917f17d3107e00f97886da0a14.tar.xz
plus-243932ef169949917f17d3107e00f97886da0a14.zip
Fix code style.
Diffstat (limited to 'src/eventsmanager.cpp')
-rw-r--r--src/eventsmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eventsmanager.cpp b/src/eventsmanager.cpp
index b79c382b8..37baa084e 100644
--- a/src/eventsmanager.cpp
+++ b/src/eventsmanager.cpp
@@ -212,8 +212,10 @@ void EventsManager::logEvent(const SDL_Event &event)
break
case SDL_MOUSEMOTION:
- logger->log("event: SDL_MOUSEMOTION: %u,%u,%u",
- event.motion.state, event.motion.x, event.motion.y);
+ logger->log("event: SDL_MOUSEMOTION: %u,%d,%d",
+ event.motion.state,
+ static_cast<int>(event.motion.x),
+ static_cast<int>(event.motion.y));
break;
case SDL_FINGERDOWN:
{