projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc97b9
)
Fix the window title.
author
J.C. Jones
<jc@insufficient.coffee>
Sun, 21 Sep 2003 13:36:43 +0000
(13:36 +0000)
committer
J.C. Jones
<jc@insufficient.coffee>
Sun, 21 Sep 2003 13:36:43 +0000
(13:36 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@197
7f0cb862
-5218-0410-a997-
914c9d46530a
progs/demos/Fractals/fractals.c
patch
|
blob
|
history
diff --git
a/progs/demos/Fractals/fractals.c
b/progs/demos/Fractals/fractals.c
index
e867471
..
644b337
100644
(file)
--- a/
progs/demos/Fractals/fractals.c
+++ b/
progs/demos/Fractals/fractals.c
@@
-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 ) ;