[Plib-cvs] plib/examples/src/pui complex.cxx,1.22,1.23
Brought to you by:
sjbaker
From: Steve B. <sj...@us...> - 2004-02-24 02:41:50
|
Update of /cvsroot/plib/plib/examples/src/pui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24540/plib/examples/src/pui Modified Files: complex.cxx Log Message: Fixed problem with complex.cxx crashing when run with freeglut. Index: complex.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/complex.cxx,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- complex.cxx 1 Sep 2002 12:04:51 -0000 1.22 +++ complex.cxx 24 Feb 2004 02:35:44 -0000 1.23 @@ -391,7 +391,8 @@ static void savereshapefn ( int w, int h ) { - file_selector->setSize ( w, h ) ; + if ( file_selector ) + file_selector->setSize ( w, h ) ; } static void coordreshapefn ( int w, int h ) |