sdcv/sdcv-format.patch

21 lines
474 B
Diff
Raw Normal View History

2011-01-13 21:00:55 +00:00
Fixes displaying of 'g' (gtk markup) entries.
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) {