Fixes spacing for "for", "while", "switch" and "if"

Also moved && and || to ends of lines instead of start.
Fixed misc vertical alignments and some { needed newlining.
This commit is contained in:
Matthew Parlane committed 2014-03-11 00:35:07 +13:00
1 parent 4591464486
commit 31cfc73a09
189 files changed
+1250 -1159

No files matched your search

+2 -2
View File
@@ -178,7 +178,7 @@ void X11_MainLoop()
for (int num_events = XPending(dpy); num_events > 0; num_events--)
{
XNextEvent(dpy, &event);
switch(event.type)
switch (event.type)
{
case KeyPress:
key = XLookupKeysym((XKeyEvent*)&event, 0);
@@ -269,7 +269,7 @@ void X11_MainLoop()
void Wayland_MainLoop()
{
// Wait for display to be initialized
while(!GLWin.wl_display)
while (!GLWin.wl_display)
usleep(20000);
GLWin.running = 1;