projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fdeb52
)
added null ptr check
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 13 Sep 2007 15:26:27 +0000
(09:26 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 13 Sep 2007 15:26:27 +0000
(09:26 -0600)
src/glut/glx/glut_fcb.c
patch
|
blob
|
history
diff --git
a/src/glut/glx/glut_fcb.c
b/src/glut/glx/glut_fcb.c
index b272d0e22783984779b5437e48852291bc508322..c8a3422b3602b70b739e75f2be420d5bba79e89b 100644
(file)
--- a/
src/glut/glx/glut_fcb.c
+++ b/
src/glut/glx/glut_fcb.c
@@
-154,7
+154,7
@@
__glutGetFCB(int which)
case GLUT_FCB_SELECT:
return __glutCurrentMenu->fselect;
case GLUT_FCB_TIMER:
-
return __glutTimerList->ffunc
;
+
return __glutTimerList ? __glutTimerList->ffunc : NULL
;
default:
return NULL;
}