Skip to content

Commit fe247f3

Browse files
Wayward1nerzhul
authored andcommittedMay 5, 2017
Fix Android build (#5706)
* Fix Android build
1 parent 21e0a04 commit fe247f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/touchscreengui.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ bool TouchScreenGUI::doubleTapDetection()
922922
m_key_events[1].x = m_move_downlocation.X;
923923
m_key_events[1].y = m_move_downlocation.Y;
924924

925-
u32 delta = porting::getDeltaMs(m_key_events[0].down_time, getTimeMs());
925+
u32 delta = porting::getDeltaMs(m_key_events[0].down_time, porting::getTimeMs());
926926
if (delta > 400)
927927
return false;
928928

@@ -1006,7 +1006,7 @@ void TouchScreenGUI::step(float dtime)
10061006
(!m_move_has_really_moved) &&
10071007
(!m_move_sent_as_mouse_event)) {
10081008

1009-
u32 delta = porting::getDeltaMs(m_move_downtime,getTimeMs());
1009+
u32 delta = porting::getDeltaMs(m_move_downtime, porting::getTimeMs());
10101010

10111011
if (delta > MIN_DIG_TIME_MS) {
10121012
m_shootline = m_device

0 commit comments

Comments
 (0)
Please sign in to comment.