string function cleanups
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4714 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -266,7 +266,7 @@ bool sbuffer::load()
|
||||
string filepath;
|
||||
loopi(sizeof(exts)/sizeof(exts[0]))
|
||||
{
|
||||
s_sprintf(filepath)("packages/audio/sounds/%s%s", name, exts[i]);
|
||||
formatstring(filepath)("packages/audio/sounds/%s%s", name, exts[i]);
|
||||
const char *file = findfile(path(filepath), "rb");
|
||||
size_t len = strlen(filepath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user