Fixed @random template tokens.

This commit is contained in:
Ianos Gnatiuc 2006-06-15 17:33:31 +00:00
parent 39d38bfdb2
commit 0ec7b867ee

View File

@ -34,8 +34,8 @@ char* GetRandomLine(char* __buf, size_t __bufsize, const char* file)
Path indexfile;
Path __file;
strxcpy(__buf, "", __bufsize);
strxcpy(__file, file, sizeof(Path));
strxcpy(__buf, "", __bufsize);
strschg_environ(__file);
replaceextension(indexfile, __file, ".sdx");