summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-02-20 02:31:40 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-02-20 02:31:40 +0000
commit2626269a47c77fb986666d6383c3bbaaf71f00ea (patch)
treee14192e554d9773152b0321e979713b429067f25 /sci-biology/treeviewx/files
parentAdd patch to fix sgml error and pdf/ps misdetection #73458. (diff)
downloadhistorical-2626269a47c77fb986666d6383c3bbaaf71f00ea.tar.gz
historical-2626269a47c77fb986666d6383c3bbaaf71f00ea.tar.bz2
historical-2626269a47c77fb986666d6383c3bbaaf71f00ea.zip
Added a patch which might fix bug #82455.
Package-Manager: portage-2.0.51.16
Diffstat (limited to 'sci-biology/treeviewx/files')
-rw-r--r--sci-biology/treeviewx/files/nodeiterator.h.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-biology/treeviewx/files/nodeiterator.h.patch b/sci-biology/treeviewx/files/nodeiterator.h.patch
new file mode 100644
index 000000000000..4b99c72f7c42
--- /dev/null
+++ b/sci-biology/treeviewx/files/nodeiterator.h.patch
@@ -0,0 +1,31 @@
+--- nodeiterator.h.old 2002-02-24 15:37:17.000000000 -0500
++++ nodeiterator.h 2005-02-19 21:09:31.000000000 -0500
+@@ -20,7 +20,7 @@
+ */
+
+ // $Id: nodeiterator.h.patch,v 1.1 2005/02/20 02:31:40 ribosome Exp $
+-
++
+ /**
+ * @file nodeiterator.h
+ *
+@@ -128,15 +128,15 @@
+
+ template <class N> N *PreorderIterator<N>::begin ()
+ {
+- cur = root;
+- return cur;
++ this->cur = this->root;
++ return this->cur;
+ }
+
+ template <class N> N *PreorderIterator<N>::next ()
+ {
+- if (cur->GetChild())
++ if (this->cur->GetChild())
+ {
+- stk.push (cur);
++ this->stk.push (cur);
+ N *p = (N *)(cur->GetChild());
+ cur = p;
+ }