Cleaned up one macro definition.

Picked up an over-long line that I missed before.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@284 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
rkrolib 2003-10-31 20:51:56 +00:00
parent d519c9292d
commit 01dc2daa05

View File

@ -40,7 +40,9 @@
/*
* All of the callbacks setting methods can be generalized to this:
*/
#define SET_CALLBACK(a) if( fgStructure.Window == NULL ) return;\
#define SET_CALLBACK(a) \
if( fgStructure.Window == NULL ) \
return; \
fgStructure.Window->Callbacks.a = callback;
/*
@ -92,7 +94,8 @@ void FGAPIENTRY glutIdleFunc( void (* callback)( void ) )
/*
* Sets the Timer callback for the current window
*/
void FGAPIENTRY glutTimerFunc( unsigned int timeOut, void (* callback)( int ), int timerID )
void FGAPIENTRY glutTimerFunc( unsigned int timeOut, void (* callback)( int ),
int timerID )
{
SFG_Timer* timer;