From: notaz Date: Tue, 16 Nov 2010 13:12:54 +0000 (+0200) Subject: allow empty lines in config X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=sdl_omap.git;a=commitdiff_plain;h=b3747abbd73fcd789bfecaefde12a42c1a4d5ee9 allow empty lines in config --- diff --git a/src/video/omapdss/config.c b/src/video/omapdss/config.c index b829847..a70cd3c 100644 --- a/src/video/omapdss/config.c +++ b/src/video/omapdss/config.c @@ -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")) {