Skip to content

Commit

Permalink
Fix copy-paste error.
Browse files Browse the repository at this point in the history
Fix an error identified by static analysis from
http://www.viva64.com/en/b/0251/

Change-Id: I3b69f8eb8c9e10772d5ca2afad75582e8a54beb7
Reviewed-by: Daniel Molkentin <[email protected]>
Reviewed-by: Konstantin Ritt <[email protected]>
  • Loading branch information
richmoore authored and The Qt Project committed Apr 18, 2014
1 parent 22bb244 commit 207598f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/platforms/windows/qwindowscontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ bool QWindowsUser32DLL::initTouch()
unregisterTouchWindow = (UnregisterTouchWindow)(library.resolve("UnregisterTouchWindow"));
getTouchInputInfo = (GetTouchInputInfo)(library.resolve("GetTouchInputInfo"));
closeTouchInputHandle = (CloseTouchInputHandle)(library.resolve("CloseTouchInputHandle"));
return registerTouchWindow && unregisterTouchWindow && getTouchInputInfo && getTouchInputInfo;
return registerTouchWindow && unregisterTouchWindow && getTouchInputInfo && closeTouchInputHandle;
}

/*!
Expand Down

0 comments on commit 207598f

Please sign in to comment.