Fixed @random template tokens.
This commit is contained in:
parent
39d38bfdb2
commit
0ec7b867ee
@ -34,8 +34,8 @@ char* GetRandomLine(char* __buf, size_t __bufsize, const char* file)
|
|||||||
Path indexfile;
|
Path indexfile;
|
||||||
Path __file;
|
Path __file;
|
||||||
|
|
||||||
strxcpy(__buf, "", __bufsize);
|
|
||||||
strxcpy(__file, file, sizeof(Path));
|
strxcpy(__file, file, sizeof(Path));
|
||||||
|
strxcpy(__buf, "", __bufsize);
|
||||||
strschg_environ(__file);
|
strschg_environ(__file);
|
||||||
|
|
||||||
replaceextension(indexfile, __file, ".sdx");
|
replaceextension(indexfile, __file, ".sdx");
|
||||||
|
Reference in New Issue
Block a user