fix basename

Tue, 21 May 2013 14:24:41 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Tue, 21 May 2013 14:24:41 +0300
changeset 235
bb0a7bcca7eb
parent 234
79b120b0aa51
child 236
b58d35dc5d52

fix basename

src/file.cpp file | annotate | diff | comparison | revisions
--- a/src/file.cpp	Tue May 21 14:24:10 2013 +0300
+++ b/src/file.cpp	Tue May 21 14:24:41 2013 +0300
@@ -133,7 +133,7 @@
 	if (lastpos < (log) path.len () - 1)
 		return path.substr (lastpos + 1, -1);
 	
-	return "";
+	return path;
 }
 
 // =============================================================================

mercurial