mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-03 01:29:43 +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] = '/';
|
||||||
path[l+1] = 0;
|
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] = '/';
|
||||||
path[l+1] = 0;
|
path[l+1] = 0;
|
||||||
}
|
}
|
||||||
strncat(path, s, max_len-1);
|
strncat(path, component, max_len-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user