From 71fbfebd410c74f4634d9ade6df50e0d467314c2 Mon Sep 17 00:00:00 2001 From: puggles Date: Sun, 21 Sep 2003 13:36:43 +0000 Subject: [PATCH] Fix the window title. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@197 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/progs/demos/Fractals/fractals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeglut/freeglut/progs/demos/Fractals/fractals.c b/freeglut/freeglut/progs/demos/Fractals/fractals.c index e867471..644b337 100644 --- a/freeglut/freeglut/progs/demos/Fractals/fractals.c +++ b/freeglut/freeglut/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 ) ;