mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-25 08:52:58 +00:00
This was SVN commit r2225.
This commit is contained in:
@@ -26,7 +26,7 @@ static void BuildFileListCB(const char* path, const vfsDirEnt* ent, void* contex
|
||||
{
|
||||
BuildFileListState* s = (BuildFileListState*)context;
|
||||
|
||||
jsval val = ToJSVal( CStr ( result ) );
|
||||
jsval val = ToJSVal( CStr ( path ) );
|
||||
// note: <path> is already directory + name!
|
||||
|
||||
JS_SetElement(s->cx, s->filename_array, s->cur_idx, &val);
|
||||
|
||||
Reference in New Issue
Block a user