summaryrefslogtreecommitdiff
path: root/editors/xenon/files/patch-XeText.C
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-05-02 09:33:54 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-05-02 09:33:54 +0000
commit4d34305a69677964af6498c03bc1df8c8bd0eca5 (patch)
tree159c18a041bdda0f9c3718efc741e7f3186b2f01 /editors/xenon/files/patch-XeText.C
parentRemove unmaintained expired nvi related ports (diff)
Remove unmaintained expired ports from editors
2011-05-01 editors/MathPlanner: Upstream says project is canceled and no more distfiles can be found 2011-05-01 editors/bitmap: Upstream disapear and distfile is no more available 2011-05-01 editors/bitmap-emacs21: Upstream disapear and distfile is no more available 2011-05-01 editors/cle: Upstream disapear and distfile is no more available 2011-05-01 editors/dedit: Upstream disapear and distfile is no more available 2011-05-01 editors/em: Upstream disapear and distfile is no more available 2011-05-01 editors/leim21: Distfile is no more available 2011-05-01 editors/lpe: Upstream disapear and distfile is no more available 2011-05-01 editors/vilearn: Upstream disapear and distfile is no more available 2011-05-01 editors/xenon: Upstream disapear and distfile is no more available
Notes
Notes: svn path=/head/; revision=273467
Diffstat (limited to 'editors/xenon/files/patch-XeText.C')
-rw-r--r--editors/xenon/files/patch-XeText.C33
1 files changed, 0 insertions, 33 deletions
diff --git a/editors/xenon/files/patch-XeText.C b/editors/xenon/files/patch-XeText.C
deleted file mode 100644
index 502514913159..000000000000
--- a/editors/xenon/files/patch-XeText.C
+++ /dev/null
@@ -1,33 +0,0 @@
---- XeText.C.orig Sat Jan 5 20:39:39 2002
-+++ XeText.C Fri Dec 1 21:25:34 2006
-@@ -1612,26 +1612,19 @@
-
- if(_numUndos >= _maxUndos) {
-
-- // $$$ calling previous() here assums _undoList is not empty
-- // previous() is O(N) where N is the number of undo items in the list
-- // if this turns out to be too much of a performance penalty, use
-- // std::list instead of std::slist for _undoList
--
-- std::slist<Undo*>::iterator pos = _undoList.previous(_undoList.end());
-- Undo* undo = *pos;
-+ Undo* undo = _undoList.back();
-
- _undoBuf.remove(KRBUF_END, _undoBuf.length() - undo->len);
- delete undo;
-- _undoList.erase(pos);
-+ _undoList.pop_back();
-
- if (!_undoList.empty()) {
-- pos = _undoList.previous(_undoList.end());
-- undo = *pos;
-+ undo = _undoList.back();
-
- if (undo && undo->type == InsertSelection) {
- _undoBuf.remove(KRBUF_END, _undoBuf.length() - undo->len);
- delete undo;
-- _undoList.erase(pos);
-+ _undoList.pop_back();
- }
- }
-