Fixed a basic readability/style error in the code. (Two statements per

line are almost never a good idea; in this case the combined line was
past 80 columns.)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@224 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
rkrolib 2003-10-11 11:36:11 +00:00
parent a2a78f13a1
commit 57351b4682

View File

@ -139,7 +139,8 @@ void FGAPIENTRY glutTimerFunc( unsigned int timeOut, void (* callback)( int ), i
*/ */
static void fghVisibility( int status ) static void fghVisibility( int status )
{ {
freeglut_assert_ready; freeglut_return_if_fail( fgStructure.Window != NULL ); freeglut_assert_ready;
freeglut_return_if_fail( fgStructure.Window != NULL );
freeglut_return_if_fail( fgStructure.Window->Callbacks.Visibility != NULL ); freeglut_return_if_fail( fgStructure.Window->Callbacks.Visibility != NULL );
if( status == GLUT_HIDDEN || status == GLUT_FULLY_COVERED ) if( status == GLUT_HIDDEN || status == GLUT_FULLY_COVERED )