summaryrefslogtreecommitdiff
path: root/misc/sdcv/patches/04_format.patch
blob: bbb562363a3a7fe5dd13c43e80c481e5142c494e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Michal Čihař <nijel@debian.org>
Subject: Fixes displaying of 'g' (gtk markup) entries.
Bug: http://sourceforge.net/tracker/index.php?func=detail&aid=2125962&group_id=122858&atid=694730
--- a/src/libwrapper.cpp
+++ b/src/libwrapper.cpp
@@ -118,7 +118,6 @@
 		switch (*p++) {
 		case 'm':
 		case 'l': //need more work...
-		case 'g':
 			sec_size = strlen(p);
 			if (sec_size) {
 				res+="\n";
@@ -128,6 +127,7 @@
 			}
 			sec_size++;
 			break;
+		case 'g':
 		case 'x':
 			sec_size = strlen(p);
 			if (sec_size) {