allow empty lines in config
authornotaz <notasas@gmail.com>
Tue, 16 Nov 2010 13:12:54 +0000 (15:12 +0200)
committernotaz <notasas@gmail.com>
Tue, 16 Nov 2010 13:12:54 +0000 (15:12 +0200)
src/video/omapdss/config.c

index b829847..a70cd3c 100644 (file)
@@ -65,7 +65,7 @@ void omapsdl_config(void)
                if (line == NULL)
                        break;
                p = line = sskip(line);
-               if (*p == '#')
+               if (*p == 0 || *p == '#')
                        continue;
 
                if (check_token(&p, "bind")) {