mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-07 16:54:28 +00:00
- fixed compilation problem in add_path_component()
This commit is contained in:
parent
f41718608c
commit
13301146d9
@ -82,7 +82,7 @@ void add_path_component(char *path, const char *component, int max_len)
|
||||
path[l] = '/';
|
||||
path[l+1] = 0;
|
||||
}
|
||||
strncat(path, s, max_len-1);
|
||||
strncat(path, component, max_len-1);
|
||||
}
|
||||
|
||||
|
||||
|
@ -67,7 +67,7 @@ void add_path_component(char *path, const char *component, int max_len)
|
||||
path[l] = '/';
|
||||
path[l+1] = 0;
|
||||
}
|
||||
strncat(path, s, max_len-1);
|
||||
strncat(path, component, max_len-1);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user