summaryrefslogtreecommitdiffstats
path: root/kdecore/kurl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kurl.cpp')
-rw-r--r--kdecore/kurl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/kurl.cpp b/kdecore/kurl.cpp
index 047f18dee..428ab2f20 100644
--- a/kdecore/kurl.cpp
+++ b/kdecore/kurl.cpp
@@ -83,7 +83,7 @@ static TQString encode( const TQString& segment, int encoding_offset, int encodi
int old_length = isRawURI ? local.size() - 1 : local.length();
- if ( !old_length )
+ if ( old_length < 1 )
return segment.isNull() ? TQString::null : TQString(""); // differentiate null and empty
// a worst case approximation