From kde-commits Mon Jul 07 18:49:04 2003 From: Mario Scalas Date: Mon, 07 Jul 2003 18:49:04 +0000 To: kde-commits Subject: kdevelop/lib/util X-MARC-Message: https://marc.info/?l=kde-commits&m=105760404825906 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 ".". * * KURL baseUrl, dirUrl;