summaryrefslogtreecommitdiffstats
path: root/src/zoom.cpp
diff options
context:
space:
mode:
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;