projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
196f804
)
Removed some remaining glib depandancy.
author
Christopher John Purnell
<cjp@lost.org.uk>
Wed, 10 Sep 2003 22:30:29 +0000
(22:30 +0000)
committer
Christopher John Purnell
<cjp@lost.org.uk>
Wed, 10 Sep 2003 22:30:29 +0000
(22:30 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@182
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
378e408
..
5174c7b
100644
(file)
--- a/
src/freeglut_joystick.c
+++ b/
src/freeglut_joystick.c
@@
-247,7
+247,7
@@
static void fghJoystickRawRead ( SFG_Joystick* joy, int* buttons, float* axes )
if( status != JS_RETURN )
{
- g_warning( joy->fname );
+ fgWarning( joy->fname );
joy->error = TRUE;
return;
}
@@
-413,7
+413,7
@@
static void fghJoystickOpen( SFG_Joystick* joy )
if( joy->error )
return ;
- sprintf( joyfname, "%s/.joy%drc", g_getenv( "HOME" ), joy->id );
+ sprintf( joyfname, "%s/.joy%drc", getenv( "HOME" ), joy->id );
joyfile = fopen( joyfname, "r" );
joy->error = (joyfile == NULL);