From 661e13a86af45f88bc0fd7d8c045f66ceddd041e Mon Sep 17 00:00:00 2001 From: alberth Date: Thu, 30 Dec 2010 15:32:31 +0000 Subject: (svn r21667) -Codechange: Introduce _thd.Reset(). --- src/window.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/window.cpp') diff --git a/src/window.cpp b/src/window.cpp index 3e601d212..4dca8403a 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1366,10 +1366,7 @@ void ResetWindowSystem() { UnInitWindowSystem(); InitWindowSystem(); - _thd.pos.x = 0; - _thd.pos.y = 0; - _thd.new_pos.x = 0; - _thd.new_pos.y = 0; + _thd.Reset(); } static void DecreaseWindowCounters() -- cgit v1.2.3-54-g00ecf