pkgsrc/audio/musicbox/patches/patch-ae
tron 1cf214a975 Import new "musicbox" package based on work contributed by Rui-Xiang Guo
in PR pkg/7022:
a X11 front-interface for mpg123

Thanks to Martin J. Laubach for his help to make this compile with egcs.
1999-06-08 23:07:10 +00:00

22 lines
725 B
Text

$NetBSD: patch-ae,v 1.1.1.1 1999/06/08 23:07:11 tron Exp $
--- qktstreelist.cpp.orig Mon Nov 10 18:10:02 1997
+++ qktstreelist.cpp Wed Jun 9 00:15:13 1999
@@ -834,7 +834,7 @@
QktsItemSearchInfo searchInfo;
searchInfo.index = index;
searchInfo.count = -1;
- forEveryVisibleItem(QktsTreeList::findItemAt, &searchInfo);
+ forEveryVisibleItem(&QktsTreeList::findItemAt, &searchInfo);
return searchInfo.foundItem;
}
@@ -1340,7 +1340,7 @@
QktsTreeListItem *item = treeRoot->getChild();
do {
while(item) {
- if((func)(item, user)) return;
+ if((this->*func)(item, user)) return;
if(item->hasChild() && item->isExpanded()) {
stack.push(item);
item = item->getChild();