freebsd-ports/ftp/kasablanca/files/patch-kbitem.cpp
Markus Brueffer 2985d53d3a Add kasablanca 0.3.1, a graphical ftp client for KDE.
Features:
   o ftps encryption via AUTH TLS
   o fxp (direct server to server transfer)
   o bookmarking system
   o concurrent connections to multiple hosts
2004-04-16 12:37:30 +00:00

18 lines
524 B
C++

--- src/kbitem.cpp.orig Fri Apr 16 12:04:47 2004
+++ src/kbitem.cpp Fri Apr 16 12:05:13 2004
@@ -23,12 +23,12 @@
int kbitem::compare(QListViewItem * i, int col, bool ascending) const
{
- if ((this->rtti() == 1001) and (i->rtti() == 1002))
+ if ((this->rtti() == 1001) && (i->rtti() == 1002))
{
if (ascending) return -1;
else return 1;
}
- else if ((this->rtti() == 1002) and (i->rtti() == 1001))
+ else if ((this->rtti() == 1002) && (i->rtti() == 1001))
{
if (ascending) return 1;
else return -1;