Fix stupid typo

Yeah, that doesn't work.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-05-07 11:15:39 -07:00
parent a0a25554a7
commit 704c2cb225

View file

@ -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