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
|
--- src/arrowproperties.cc.orig Mon Feb 7 22:46:26 2000
+++ src/arrowproperties.cc Mon Feb 7 22:48:41 2000
@@ -40,7 +40,7 @@
gpointer user_data)
{
area=area;
- DoDraw(widget,(TArrowStyle)user_data);
+ DoDraw(widget,*(TArrowStyle*)user_data);
}
@@ -50,7 +50,7 @@
gpointer user_data)
{
event = event;
- DoDraw(widget,(TArrowStyle)user_data);
+ DoDraw(widget,*(TArrowStyle *)user_data);
return FALSE;
}
--- src/line.h.orig Mon Feb 7 22:48:55 2000
+++ src/line.h Mon Feb 7 22:49:24 2000
@@ -18,7 +18,7 @@
class TCADLine : public TCADObject, TCADLinePropertiesI {
protected:
- const unsigned int MAXNUMHANDLES = 10;
+ static const unsigned int MAXNUMHANDLES = 10;
GdkPoint First,Last;
TCADHandle Handle[MAXNUMHANDLES];
--- src/rightangleline.h.orig Mon Feb 7 22:49:50 2000
+++ src/rightangleline.h Mon Feb 7 22:50:24 2000
@@ -11,7 +11,7 @@
class TCADRightAngleLine : public TCADLine {
protected:
- const int MAXNUMPOINTS = MAXNUMHANDLES+3;
+ static const int MAXNUMPOINTS = MAXNUMHANDLES+3;
GdkPoint Points[MAXNUMPOINTS];
int NumPoints;
int XLPN,YLPN; // LoadPointNumber - for loading
|