mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix stupid typo
Yeah, that doesn't work. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a0a25554a7
commit
704c2cb225
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ static char *build_filename(const char *path, const char *name)
|
||||||
int len = strlen(path) + strlen(name) + 2;
|
int len = strlen(path) + strlen(name) + 2;
|
||||||
char *buf = malloc(len);
|
char *buf = malloc(len);
|
||||||
#if WIN32
|
#if WIN32
|
||||||
snprintf(buf, len, "%s\%s", path, name);
|
snprintf(buf, len, "%s\\%s", path, name);
|
||||||
#else
|
#else
|
||||||
snprintf(buf, len, "%s/%s", path, name);
|
snprintf(buf, len, "%s/%s", path, name);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue