mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:33:24 +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;
|
||||
char *buf = malloc(len);
|
||||
#if WIN32
|
||||
snprintf(buf, len, "%s\%s", path, name);
|
||||
snprintf(buf, len, "%s\\%s", path, name);
|
||||
#else
|
||||
snprintf(buf, len, "%s/%s", path, name);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue