Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 749 vs 750 for /trunk/Source Code/Platform/DisplayWindow.cpp

Diff revisions: vs.
  @@ -212,9 +212,9 @@
212 212 void DisplayWindow::centerWindowPosition() {
213 213 _internalMoveEvent = true;
214 214 const WindowManager& winManager = Application::instance().windowManager();
215 - I32 winX = SDL_WINDOWPOS_CENTERED_DISPLAY(winManager.targetDisplay());
216 - I32 winY = SDL_WINDOWPOS_CENTERED_DISPLAY(winManager.targetDisplay());
217 - setPosition(type(), winX, winY);
215 + setPosition(type(),
216 + SDL_WINDOWPOS_CENTERED_DISPLAY(winManager.targetDisplay()),
217 + SDL_WINDOWPOS_CENTERED_DISPLAY(winManager.targetDisplay()));
218 218 }
219 219
220 220 /// Mouse positioning is handled by SDL