projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a43221b
)
someone forgot a ! in world.cpp...
author
Mathnerd314
<man.is.allan@gmail.com>
Wed, 3 Mar 2010 06:50:54 +0000
(06:50 +0000)
committer
Mathnerd314
<man.is.allan@gmail.com>
Wed, 3 Mar 2010 06:50:54 +0000
(06:50 +0000)
SVN-Revision: 6526
src/supertux/world.cpp
patch
|
blob
|
history
diff --git
a/src/supertux/world.cpp
b/src/supertux/world.cpp
index
f136098
..
2df22f3
100644
(file)
--- a/
src/supertux/world.cpp
+++ b/
src/supertux/world.cpp
@@
-65,7
+65,7
@@
World::set_savegame_filename(const std::string& filename)
// make sure the savegame directory exists
std::string dirname = FileSystem::dirname(filename);
if(!PHYSFS_exists(dirname.c_str())) {
- if(PHYSFS_mkdir(dirname.c_str())) {
+ if(
!
PHYSFS_mkdir(dirname.c_str())) {
std::ostringstream msg;
msg << "Couldn't create directory for savegames '"
<< dirname << "': " <<PHYSFS_getLastError();