summaryrefslogtreecommitdiffstats
path: root/src/zoom.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-12-17 02:14:32 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-12-17 02:14:32 +0100
commitbc797d4c8b5f8a7ac925ca8478dc5960907a81dd (patch)
treed38e89dd598833240462b6b6047ada7eebb321e6 /src/zoom.cpp
parentea08fea654b4702a77f623b74137fabc7d6800d8 (diff)
downloadzoom++-bc797d4c8b5f8a7ac925ca8478dc5960907a81dd.tar
zoom++-bc797d4c8b5f8a7ac925ca8478dc5960907a81dd.zip
Moved Plane to MathUtil; some other tweaks
Diffstat (limited to 'src/zoom.cpp')
-rw-r--r--src/zoom.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/zoom.cpp b/src/zoom.cpp
index b222286..e5b0978 100644
--- a/src/zoom.cpp
+++ b/src/zoom.cpp
@@ -32,8 +32,7 @@
#include <unistd.h>
#endif
-void resize(int width, int height)
-{
+void resize(int width, int height) {
if(height == 0) {
height = 1;
}
@@ -180,13 +179,11 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
bool running = true;
MSG msg;
- while(running)
- {
+ while(running) {
unsigned long delta = 0;
unsigned long ticks = GetTickCount();
- while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
- {
+ while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
if(msg.message == WM_QUIT)
{
running = false;