diff options
author | nyamatongwe <devnull@localhost> | 2003-02-19 09:03:47 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-02-19 09:03:47 +0000 |
commit | 9453a45638f3f7d06f1db441d3d72615d0ca37c3 (patch) | |
tree | 240bdb0044a1a03c0365954f7f16e8415c9ce08e /src/LineMarker.h | |
parent | 2a25b067f78f395392499ac9f19a8028d847d07e (diff) | |
download | scintilla-mirror-9453a45638f3f7d06f1db441d3d72615d0ca37c3.tar.gz |
Made operator= safer if misused.
Diffstat (limited to 'src/LineMarker.h')
-rw-r--r-- | src/LineMarker.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/LineMarker.h b/src/LineMarker.h index 50a0331da..ef5924f75 100644 --- a/src/LineMarker.h +++ b/src/LineMarker.h @@ -37,6 +37,7 @@ public: markType = SC_MARK_CIRCLE; fore = ColourDesired(0,0,0); back = ColourDesired(0xff,0xff,0xff); + delete pxpm; pxpm = NULL; return *this; } |