summaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext/kvi_sharedfiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/ext/kvi_sharedfiles.cpp')
-rw-r--r--src/kvilib/ext/kvi_sharedfiles.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kvilib/ext/kvi_sharedfiles.cpp b/src/kvilib/ext/kvi_sharedfiles.cpp
index b3c96e11..9383f695 100644
--- a/src/kvilib/ext/kvi_sharedfiles.cpp
+++ b/src/kvilib/ext/kvi_sharedfiles.cpp
@@ -208,8 +208,8 @@ void KviSharedFilesManager::doInsert(KviSharedFileList * l, KviSharedFile * o)
return;
}
// the current one has no wildcards...
- // the longer tqmasks go first....
- if(fo->tqmaskLength() < o->tqmaskLength())
+ // the longer masks go first....
+ if(fo->maskLength() < o->maskLength())
{
// the current one is shorter than the new one...insert
l->insert(index,o);