slackbuilds_ponce/misc/sdcv/patches/04_format.patch
Vladimir Yatsemirski 18bc18abd0 misc/sdcv: Added (console dictionary application).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-12-27 18:27:33 +01:00

21 lines
528 B
Diff

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) {