summaryrefslogtreecommitdiffstats
path: root/src/bltGrMarker.C
diff options
context:
space:
mode:
authorjoye <joye>2014-03-28 17:25:15 (GMT)
committerjoye <joye>2014-03-28 17:25:15 (GMT)
commit7d96c61399a774137fd24ef3d5610e5e5280231e (patch)
tree527a9a7171d059cd36d1ebb7568d6c08cebba880 /src/bltGrMarker.C
parent6c5b1ff4db8f0e0963ce40505eae0b7ac6fa5294 (diff)
downloadblt-7d96c61399a774137fd24ef3d5610e5e5280231e.zip
blt-7d96c61399a774137fd24ef3d5610e5e5280231e.tar.gz
blt-7d96c61399a774137fd24ef3d5610e5e5280231e.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrMarker.C')
-rw-r--r--src/bltGrMarker.C17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/bltGrMarker.C b/src/bltGrMarker.C
index e63461d..3a0bc2e 100644
--- a/src/bltGrMarker.C
+++ b/src/bltGrMarker.C
@@ -38,13 +38,14 @@ using namespace Blt;
Marker::Marker(Graph* gPtr, const char* nPtr, Tcl_HashEntry* hPtr)
{
classId_ =CID_NONE;
- graphPtr_ =gPtr;
+ name_ = dupstr(nPtr);
+ className_ =NULL;
optionTable_ =NULL;
- clipped_ =0;
+ ops_ =NULL;
+ graphPtr_ =gPtr;
hashPtr_ = hPtr;
+ clipped_ =0;
- name = dupstr(nPtr);
- className =NULL;
link =NULL;
flags =0;
}
@@ -58,11 +59,11 @@ Marker::~Marker()
Blt_DeleteBindings(graphPtr_->bindTable, this);
- if (className)
- delete [] className;
+ if (className_)
+ delete [] className_;
- if (name)
- delete [] name;
+ if (name_)
+ delete [] name_;
if (hashPtr_)
Tcl_DeleteHashEntry(hashPtr_);