aboutsummaryrefslogtreecommitdiff
path: root/sysutils/kdf/files/patch-ark-filelistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/kdf/files/patch-ark-filelistview.cpp')
-rw-r--r--sysutils/kdf/files/patch-ark-filelistview.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/kdf/files/patch-ark-filelistview.cpp b/sysutils/kdf/files/patch-ark-filelistview.cpp
new file mode 100644
index 000000000000..dadc8edc030e
--- /dev/null
+++ b/sysutils/kdf/files/patch-ark-filelistview.cpp
@@ -0,0 +1,11 @@
+--- ark/filelistview.cpp.orig Mon Dec 19 15:40:44 2005
++++ ark/filelistview.cpp Mon Dec 19 15:41:20 2005
+@@ -260,7 +260,7 @@
+ * the next item is the next sibling of its parent, and so on.
+ */
+ FileLVI *nitem = static_cast<FileLVI*>( item->nextSibling() );
+- while ( !nitem and item->parent() )
++ while ( !nitem && item->parent() )
+ {
+ item = static_cast<FileLVI*>( item->parent() );
+ nitem = static_cast<FileLVI*>( item->parent()->nextSibling() );