summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-12-21 13:54:02 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-12-21 13:54:02 +0000
commit2454e52dd46c93928b46a4a26b54141c6901d807 (patch)
tree2ae53e5c9f13e9d1ff0a5d91d29bde40abe1c370 /src
parent13070ee270bcdd9d6eb366e23f0279a7027cc5ca (diff)
Static pointer variable was not initialized to NULL.
git-svn-id: file:///fltk/svn/fltk/trunk@166 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/fl_vertex.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_vertex.cxx b/src/fl_vertex.cxx
index b2f11cfd7..1d0b834fd 100644
--- a/src/fl_vertex.cxx
+++ b/src/fl_vertex.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_vertex.cxx,v 1.3 1998/10/21 14:21:03 mike Exp $"
+// "$Id: fl_vertex.cxx,v 1.4 1998/12/21 13:54:02 mike Exp $"
//
// Portable drawing routines for the Fast Light Tool Kit (FLTK).
//
@@ -71,7 +71,7 @@ void fl_rotate(double d) {
}
}
-static XPoint *p;
+static XPoint *p = (XPoint *)0;
// typedef what the x,y fields in a point are:
#ifdef WIN32
typedef int COORD_T;
@@ -223,5 +223,5 @@ void fl_circle(double x, double y,double r) {
}
//
-// End of "$Id: fl_vertex.cxx,v 1.3 1998/10/21 14:21:03 mike Exp $".
+// End of "$Id: fl_vertex.cxx,v 1.4 1998/12/21 13:54:02 mike Exp $".
//