From 1ff1adc0e68aa0080f31c60ce12077ddf7be9b02 Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Thu, 17 Nov 2005 20:11:54 +0000 Subject: Service name is now accepted with no path information. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@51 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkbasecxx/Utils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'orkbasecxx/Utils.h') diff --git a/orkbasecxx/Utils.h b/orkbasecxx/Utils.h index 8d41a10..b50872a 100644 --- a/orkbasecxx/Utils.h +++ b/orkbasecxx/Utils.h @@ -69,6 +69,10 @@ inline CStdString BaseName(CStdString& path) { result = path.Right(path.GetLength() - lastSeparatorPosition - 1); } + else + { + result = path; + } return result; } -- cgit v1.2.3