mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix system.c for C89
This commit is contained in:
parent
2a92a171da
commit
c683703df0
|
@ -1705,8 +1705,8 @@ int fs_storage_path(const char *appname, char *path, int max)
|
|||
int fs_makedir_rec_for(const char *path)
|
||||
{
|
||||
char buffer[1024*2];
|
||||
str_copy(buffer, path, sizeof(buffer));
|
||||
char *p;
|
||||
str_copy(buffer, path, sizeof(buffer));
|
||||
for(p = buffer; *p != '\0'; p++)
|
||||
{
|
||||
if(*p == '/' && *(p + 1) != '\0')
|
||||
|
|
Loading…
Reference in a new issue