pkgsrc/graphics/pixieplus/patches/patch-ak
joerg 0401f1311e Remove a number of spurious semicolons, rename a variable shadowing
itself and fix include of fnmatch.h, which can be obtained from
Heimdal. The latter can go away after the branch, when Heimdal itself
is fixed.
2006-06-21 21:00:49 +00:00

16 lines
676 B
Text

$NetBSD: patch-ak,v 1.1 2006/06/21 21:00:49 joerg Exp $
--- app/rightclick.cpp.orig 2006-06-21 19:41:04.000000000 +0000
+++ app/rightclick.cpp
@@ -220,9 +220,9 @@ void EditMenu::aboutToShowSlot()
idx = -1;
}
if(idx != -1){
- QStringList itemList(view->itemCatagories(&itemList[idx]));
+ QStringList itemList2(view->itemCatagories(&itemList[idx]));
for(it=catList.begin(), i=1000; it != catList.end(); ++it, ++i){
- if(itemList.findIndex((*it)) == -1)
+ if(itemList2.findIndex((*it)) == -1)
addMnu->insertItem((*it), i);
else
delMnu->insertItem((*it), i+1000);