Fix the window title.

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@197 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
puggles 2003-09-21 13:36:43 +00:00
parent c0f2a92615
commit 71fbfebd41

View File

@ -206,7 +206,7 @@ void readConfigFile ( char *fnme )
/* Read the window title */
fgets ( inputline, 256, fptr ) ;
sscanf ( inputline, "%s", window_title ) ;
sscanf ( inputline, "%[a-zA-Z0-9!@#$%^&*()+=/\\_-\" ]", window_title ) ;
/* Read a comment line */
fgets ( inputline, 256, fptr ) ;