summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/bless/files/bless-0.6.0-pixmap.patch')
-rw-r--r--dev-util/bless/files/bless-0.6.0-pixmap.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-util/bless/files/bless-0.6.0-pixmap.patch b/dev-util/bless/files/bless-0.6.0-pixmap.patch
new file mode 100644
index 00000000000..441a9e2bfb7
--- /dev/null
+++ b/dev-util/bless/files/bless-0.6.0-pixmap.patch
@@ -0,0 +1,20 @@
+=== modified file 'src/gui/drawers/HexDrawer.cs'
+--- src/gui/drawers/HexDrawer.cs 2007-06-13 12:20:53 +0000
++++ src/gui/drawers/HexDrawer.cs 2009-04-10 23:21:41 +0000
+@@ -57,11 +57,14 @@
+
+ //System.Console.WriteLine(s);
+
+- pangoLayout.SetText(s);
++ pangoLayout.SetText(s.Substring(0,256));
+
+
+ gc.RgbFgColor = fg;
+ pix.DrawLayout(gc, 0, 0, pangoLayout);
++
++ pangoLayout.SetText(s.Substring(256,256));
++ pix.DrawLayout(gc, 128*2*width, 0, pangoLayout);
+
+ return pix;
+ }
+