git repos / blockattack-game

commit e4da8a37

Poul Sander · 2022-02-17 16:17
e4da8a3735db98a19ad709b8eeb1ed99b103c499 patch · browse files
parent 5e83af0684125c13bdb9484d7d5f3f5291755860

Run astyle

Changed files

M source/code/os.cpp before
diff --git a/source/code/os.cpp b/source/code/os.cpp index b528d88..ee50e54 100644 --- a/source/code/os.cpp +++ b/source/code/os.cpp
@@ -125,7 +125,7 @@ void OsCreateFolder(const std::string& path) {
std::string new_path = path;
boost::replace_all(new_path, "/", "\\");
size_t pos = new_path.find("\\");
- while( pos != std::string::npos) {
+ while ( pos != std::string::npos) {
std::string part_of_path = new_path.substr(0, pos);
CreateDirectoryW(win32_utf8_to_utf16(part_of_path.c_str()).c_str(), NULL);
pos = new_path.find("\\",pos+1);