mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Don't create an empty oos_logs directory when starting the game. Rename getDateIndexSubdirectory to createDateIndexSubdirectory. Add a comment for the breakpoint argument of CreateDirectories. This was SVN commit r18183.
This commit is contained in:
+1
-1
@@ -196,7 +196,7 @@ Status tex_write(Tex* t, const VfsPath& filename)
|
||||
/**
|
||||
* Return an unused directory, based on date and index (for example 2016-02-09_0001)
|
||||
*/
|
||||
OsPath getDateIndexSubdirectory(const OsPath& parentDir)
|
||||
OsPath createDateIndexSubdirectory(const OsPath& parentDir)
|
||||
{
|
||||
const std::time_t timestamp = std::time(nullptr);
|
||||
const struct std::tm* now = std::localtime(×tamp);
|
||||
|
||||
Reference in New Issue
Block a user