projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split a few overlong lines.
[freeglut]
/
src
/
freeglut_main.c
diff --git
a/src/freeglut_main.c
b/src/freeglut_main.c
index
16248b5
..
34e284b
100644
(file)
--- a/
src/freeglut_main.c
+++ b/
src/freeglut_main.c
@@
-1380,13
+1380,13
@@
LRESULT CALLBACK fgWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam,
break;
}
break;
}
- if ( GetSystemMetrics( SM_SWAPBUTTON ) )
+ if( GetSystemMetrics( SM_SWAPBUTTON ) )
{
{
- if ( button == GLUT_LEFT_BUTTON )
+ if( button == GLUT_LEFT_BUTTON )
button = GLUT_RIGHT_BUTTON;
else
button = GLUT_RIGHT_BUTTON;
else
- if ( button == GLUT_RIGHT_BUTTON )
- button = GLUT_LEFT_BUTTON;
+ if( button == GLUT_RIGHT_BUTTON )
+ button = GLUT_LEFT_BUTTON;
}
if( button == -1 )
}
if( button == -1 )