[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/lib/util
From: Mario Scalas <mario.scalas () libero ! it>
Date: 2003-07-07 18:49:04
[Download RAW message or body]
CVS commit by marios:
* extractPathNameRelative now returns "." instead of "./" when baseDirUrl == url
M +1 -1 urlutil.cpp 1.9
M +1 -1 urlutil.h 1.7
--- kdevelop/lib/util/urlutil.cpp #1.8:1.9
@@ -88,5 +88,5 @@ QString URLUtil::extractPathNameRelative
if (absRef == absBase)
- return QString( "./" );
+ return QString( "." );
else
return absRef.replace( 0, absBase.length(), QString() );
--- kdevelop/lib/util/urlutil.h #1.6:1.7
@@ -68,5 +68,5 @@ namespace URLUtil
* Given a base directory url in @p baseDirUrl and the url referring to a date sub-directory or file,
* it will return the path relative to @p baseDirUrl.
- * If baseDirUrl == url.path() then it will return "./".
+ * If baseDirUrl == url.path() then it will return ".".
* <code>
* KURL baseUrl, dirUrl;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic