forked from 0ad/0ad
Fixed sysdep/unix compilation
This was SVN commit r4647.
This commit is contained in:
parent
9d34e32c34
commit
e94199bfe5
@ -9,7 +9,7 @@ struct SPropPoint;
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
#include <set>
|
||||
|
||||
#include "ps/CStr.h"
|
||||
#include "ps/Overlay.h"
|
||||
|
||||
|
@ -88,7 +88,7 @@ int dir_get_changed_file(char* fn)
|
||||
{
|
||||
char n_path[PATH_MAX];
|
||||
const char* dir = dirs[e.fr.reqnum].c_str();
|
||||
snprintf(n_path, PATH_MAX, "%s%c%s", dir, DIR_SEP, e.filename);
|
||||
snprintf(n_path, PATH_MAX, "%s%c%s", dir, SYS_DIR_SEP, e.filename);
|
||||
RETURN_ERR(file_make_portable_path(n_path, fn));
|
||||
return INFO::OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user