projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afd619b
)
Patch by Matt McCutchen to find levels in current directory when selected from comman...
author
Wolfgang Becker
<uafr@gmx.de>
Sun, 30 Aug 2009 10:55:54 +0000
(10:55 +0000)
committer
Wolfgang Becker
<uafr@gmx.de>
Sun, 30 Aug 2009 10:55:54 +0000
(10:55 +0000)
SVN-Revision: 5909
src/file_system.cpp
patch
|
blob
|
history
diff --git
a/src/file_system.cpp
b/src/file_system.cpp
index
5f5be1d
..
be39082
100644
(file)
--- a/
src/file_system.cpp
+++ b/
src/file_system.cpp
@@
-35,7
+35,7
@@
std::string dirname(const std::string& filename)
if(p == std::string::npos)
p = filename.find_last_of('\\');
if(p == std::string::npos)
- return "";
+ return "
./
";
return filename.substr(0, p+1);
}