mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-26 06:32:26 +00:00
# groundwork for separated data/cache etc. directories (XDG)
remove path.cpp (it was based on the premise that all data files lie below binaries/data) This was SVN commit r7063.
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
#include "precompiled.h"
|
||||
#include "NetLog.h"
|
||||
#include "ps/CConsole.h"
|
||||
#include "lib/file/path.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
@@ -259,7 +258,7 @@ CNetLogFileSink::CNetLogFileSink( void )
|
||||
CNetLogger::GetStringTime( time );
|
||||
|
||||
// Make relative path
|
||||
Path path("../logs/net_log");
|
||||
fs::path path(psLogPath()/"net_log");
|
||||
path /= time+".txt";
|
||||
m_FileName = path.external_file_string();
|
||||
m_Append = true;
|
||||
|
||||
Reference in New Issue
Block a user