Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev

This commit is contained in:
David Capello 2012-08-18 17:51:14 -03:00
commit ce84dfbef6

View File

@ -29,7 +29,7 @@ void make_directory(const string& path)
int result = mkdir(path.c_str(), 0777);
if (result < 0) {
// TODO add errno into the exception
throw runtime_error("Error creating directory");
throw std::runtime_error("Error creating directory");
}
}
@ -38,7 +38,7 @@ void remove_directory(const string& path)
int result = rmdir(path.c_str());
if (result != 0) {
// TODO add errno into the exception
throw runtime_error("Error removing directory");
throw std::runtime_error("Error removing directory");
}
}