mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-19 08:51:59 +00:00
hash.h: update the description of FindList quakefs.c: didn't need va there
This is an imperfect revision of history.
This commit is contained in:
parent
9768568eeb
commit
9a5cce7c14
2 changed files with 4 additions and 2 deletions
|
@ -105,7 +105,9 @@ void *Hash_FindElement (hashtab_t *tab, void *ele);
|
|||
tab: the table to search
|
||||
key: the key string identifying the elements being searched for
|
||||
returns a null terminated list of element pointers if at least one found,
|
||||
otherwise 0.
|
||||
otherwise 0. returned list is guaranteed to be in reverse order of
|
||||
insertion. ie, deleting items from the list in list order will delete the
|
||||
correct items.
|
||||
*/
|
||||
void **Hash_FindList (hashtab_t *tab, const char *key);
|
||||
void **Hash_FindElementList (hashtab_t *tab, void *ele);
|
||||
|
|
|
@ -1066,7 +1066,7 @@ QFS_LoadGameDirectory (const char *dir)
|
|||
pak = QFS_LoadPackFile (pakfiles[i]);
|
||||
|
||||
if (!pak) {
|
||||
Sys_Error (va ("Bad pakfile %s!!", pakfiles[i]));
|
||||
Sys_Error ("Bad pakfile %s!!", pakfiles[i]);
|
||||
} else {
|
||||
search = calloc (1, sizeof (searchpath_t));
|
||||
search->pack = pak;
|
||||
|
|
Loading…
Reference in a new issue