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:
parent
c0f2a92615
commit
71fbfebd41
@ -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 ) ;
|
||||
|
Reference in New Issue
Block a user