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
2014-03-11 00:30:55 +13:00
parent 4591464486
commit 31cfc73a09
189 changed files with 1250 additions and 1159 deletions

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;