]> git.pld-linux.org Git - packages/eboard.git/commitdiff
- fix const correctness.
authorPaweł Sikora <pluto@pld-linux.org>
Sat, 27 Mar 2010 09:14:18 +0000 (09:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eboard-const.patch -> 1.1

eboard-const.patch [new file with mode: 0644]

diff --git a/eboard-const.patch b/eboard-const.patch
new file mode 100644 (file)
index 0000000..990a9cc
--- /dev/null
@@ -0,0 +1,22 @@
+--- eboard-1.1.1/ntext.h.orig  2008-02-22 16:51:22.000000000 +0100
++++ eboard-1.1.1/ntext.h       2010-03-27 10:10:15.309464746 +0100
+@@ -84,7 +84,7 @@
+   virtual ~NText();
+   void setFont(const char *font);
+-  void append(const char *text, int len, int color);
++  void append(char *text, int len, int color);
+   void pageUp(float pages);
+   void pageDown(float pages);
+--- eboard-1.1.1/ntext.cc.orig 2008-02-22 16:51:22.000000000 +0100
++++ eboard-1.1.1/ntext.cc      2010-03-27 10:10:20.649464452 +0100
+@@ -234,7 +234,7 @@
+     repaint();
+ }
+-void NText::append(const char *text, int len, int color) {
++void NText::append(char *text, int len, int color) {
+   int i;
+   NLine *nl;
+   char *p;
This page took 0.078521 seconds and 4 git commands to generate.