Fixing bug 2862668, "freeglut 2.6.0 RC1 fails to build on FreeBSD", submitted by Alexis Ballier ( aballier ) - 2009-09-20 09:44 (thank you, Alexis)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@846 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
aaaac4abe3
commit
acb7e60c1f
@ -1346,7 +1346,7 @@ static void fghJoystickOpen( SFG_Joystick* joy )
|
|||||||
if( joy->error )
|
if( joy->error )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
snprintf( joyfname, sizeof(buffer), "%s/.joy%drc", getenv( "HOME" ), joy->id );
|
snprintf( joyfname, sizeof(joyfname), "%s/.joy%drc", getenv( "HOME" ), joy->id );
|
||||||
|
|
||||||
joyfile = fopen( joyfname, "r" );
|
joyfile = fopen( joyfname, "r" );
|
||||||
joy->error =( joyfile == NULL );
|
joy->error =( joyfile == NULL );
|
||||||
|
Reference in New Issue
Block a user