summaryrefslogtreecommitdiffstats
path: root/src/sp-use.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-use.cpp')
-rw-r--r--src/sp-use.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sp-use.cpp b/src/sp-use.cpp
index eb089612b..1abda0d05 100644
--- a/src/sp-use.cpp
+++ b/src/sp-use.cpp
@@ -412,7 +412,12 @@ void CUse::onHide(unsigned int key) {
SP_ITEM(use->child)->invoke_hide(key);
}
- CItem::onHide(key);
+ // CPPIFY: This doesn't make no sense.
+ // CItem::onHide is pure. What was the idea behind these lines?
+// if (((SPItemClass *) parent_class)->hide) {
+// ((SPItemClass *) parent_class)->hide(item, key);
+// }
+// CItem::onHide(key);
}
static void