# HG changeset patch # User Santeri Piippo # Date 1369135481 -10800 # Node ID bb0a7bcca7ebf30030c6ac5d1efa954706ca4995 # Parent 79b120b0aa51f3b4f40921d69d5540b3524b8bd8 fix basename diff -r 79b120b0aa51 -r bb0a7bcca7eb src/file.cpp --- 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; } // =============================================================================