projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df636ca
)
Fixing bug 2862668, "freeglut 2.6.0 RC1 fails to build on FreeBSD", submitted by...
author
John F. Fay
<johnffay@nettally.com>
Sat, 14 Nov 2009 04:31:39 +0000
(
04:31
+0000)
committer
John F. Fay
<johnffay@nettally.com>
Sat, 14 Nov 2009 04:31:39 +0000
(
04:31
+0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@846
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_joystick.c
patch
|
blob
|
history
diff --git
a/src/freeglut_joystick.c
b/src/freeglut_joystick.c
index
0214d64
..
c009377
100644
(file)
--- a/
src/freeglut_joystick.c
+++ b/
src/freeglut_joystick.c
@@
-1346,7
+1346,7
@@
static void fghJoystickOpen( SFG_Joystick* joy )
if( joy->error )
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" );
joy->error =( joyfile == NULL );