X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=progs%2Fdemos%2FOne%2Fone.c;fp=progs%2Fdemos%2FOne%2Fone.c;h=7d609db66604f1d768d2b3a19b4e648644188098;hb=13bc069810e3f513a9aa6cd44e8a37d02c7baabf;hp=7a714f4666720970643fda556f613387a381b843;hpb=0647e9f98125009ed8710eb9a9f32793a9a8f0b2;p=freeglut diff --git a/progs/demos/One/one.c b/progs/demos/One/one.c index 7a714f4..7d609db 100644 --- a/progs/demos/One/one.c +++ b/progs/demos/One/one.c @@ -56,14 +56,14 @@ void PrintText( int nX, int nY, char* pszText ) glLoadIdentity(); /* - * Now the main text + * Now the main text */ glColor3ub( 0, 0, 0 ); glRasterPos2i( nX, nY ); for( p=pszText, lines=0; *p; p++ ) { - if( *p == '\n' ) + if( *p == '\n' ) { lines++; glRasterPos2i( nX, nY-(lines*18) ); @@ -71,7 +71,7 @@ void PrintText( int nX, int nY, char* pszText ) glutBitmapCharacter( GLUT_BITMAP_HELVETICA_18, *p ); } - + /* * Revert to the old matrix modes */ @@ -311,7 +311,7 @@ int main( int argc, char** argv ) printf( "current window is %ix%i+%i+%i", glutGet( GLUT_WINDOW_X ), glutGet( GLUT_WINDOW_Y ), glutGet( GLUT_WINDOW_WIDTH ), glutGet( GLUT_WINDOW_HEIGHT ) - ); + ); /* * Enter the main FreeGLUT processing loop