TEMPFORMAT has already leading / in defines.h

This commit is contained in:
dwarning 2021-04-17 10:14:50 +02:00 committed by Holger Vogt
parent 64c407332d
commit a08f120518
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ smktemp(char *id)
id = "sp";
const char* const home = getenv("HOME");
if (home) {
return tprintf("%s/"TEMPFORMAT, home, id, getpid());
return tprintf("%s"TEMPFORMAT, home, id, getpid());
}
const char* const usr = getenv("USERPROFILE");
if (usr) {