summaryrefslogtreecommitdiff
blob: 4079e0aa44904a5853b725af6172611b50df527c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
diff -ru pilot-0.0.9-orig/pilotosd.c pilot-0.0.9/pilotosd.c
--- pilot-0.0.9-orig/pilotosd.c	2008-04-02 15:45:18.597448151 +0200
+++ pilot-0.0.9/pilotosd.c	2008-04-02 15:46:45.507442460 +0200
@@ -34,7 +34,7 @@
 {
   delete osd;
 }
-void cPilotOsd::DrawSymbol(int x, int y, char *SymbolName[], tColor ColorFg)
+void cPilotOsd::DrawSymbol(int x, int y, const char *SymbolName[], tColor ColorFg)
 {
   cBitmap bm(SymbolName);
   osd->DrawBitmap(x, y, bm, ColorFg, pal[0]);
diff -ru pilot-0.0.9-orig/pilotosd.h pilot-0.0.9/pilotosd.h
--- pilot-0.0.9-orig/pilotosd.h	2008-04-02 15:45:18.597448151 +0200
+++ pilot-0.0.9/pilotosd.h	2008-04-02 15:46:30.908163317 +0200
@@ -11,7 +11,7 @@
 
 class cPilotOsd : public cOsdObject {
 private:
-  void DrawSymbol(int x, int y, char *SymbolName[], tColor color);
+  void DrawSymbol(int x, int y, const char *SymbolName[], tColor color);
   cOsd *osd;
   int pal[16];
   int lastTime;
diff -ru pilot-0.0.9-orig/symbols/down.xpm pilot-0.0.9/symbols/down.xpm
--- pilot-0.0.9-orig/symbols/down.xpm	2008-04-02 15:45:18.597448151 +0200
+++ pilot-0.0.9/symbols/down.xpm	2008-04-02 15:45:47.057442667 +0200
@@ -1,5 +1,5 @@
 /* XPM */
-static char * down_xpm[] = {
+static const char * down_xpm[] = {
 "22 26 2 1",
 ".	c #FFFFFF",
 "*	c #000000",
diff -ru pilot-0.0.9-orig/symbols/up.xpm pilot-0.0.9/symbols/up.xpm
--- pilot-0.0.9-orig/symbols/up.xpm	2008-04-02 15:45:18.597448151 +0200
+++ pilot-0.0.9/symbols/up.xpm	2008-04-02 15:45:53.807442292 +0200
@@ -1,5 +1,5 @@
 /* XPM */
-static char * up_xpm[] = {
+static const char * up_xpm[] = {
 "22 26 2 1",
 ".	c #FFFFFF",
 "*	c #000000",