changeset 1051:2a02fa29478b

The comment section in the meta file is the last section. However it do not accept comment lines starting with a '['. This patch will fix that. - patch by Klaus Ethgen
author nadvornik
date Mon, 29 Sep 2008 21:17:19 +0000
parents 92defc61fa53
children 338c21c87ff5
files src/bar_info.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/bar_info.c	Mon Sep 29 21:09:48 2008 +0000
+++ b/src/bar_info.c	Mon Sep 29 21:17:19 2008 +0000
@@ -147,7 +147,7 @@
 		gchar *ptr = s_buf;
 
 		if (*ptr == '#') continue;
-		if (*ptr == '[')
+		if (*ptr == '[' && key != MK_COMMENT)
 			{
 			gchar *keystr = ++ptr;