* Fix some recently introduced warnings

* Fix referenced pk3 list including excessive number of spaces
This commit is contained in:
Tim Angus 2008-04-12 18:58:06 +00:00
parent 563eb9443b
commit 845de6a960
3 changed files with 4 additions and 5 deletions

View file

@ -3112,10 +3112,10 @@ const char *FS_ReferencedPakNames( void ) {
for ( search = fs_searchpaths ; search ; search = search->next ) {
// is the element a pak file?
if ( search->pack ) {
if (*info) {
Q_strcat(info, sizeof( info ), " " );
}
if (search->pack->referenced || Q_stricmpn(search->pack->pakGamename, BASEGAME, strlen(BASEGAME))) {
if (*info) {
Q_strcat(info, sizeof( info ), " " );
}
Q_strcat( info, sizeof( info ), search->pack->pakGamename );
Q_strcat( info, sizeof( info ), "/" );
Q_strcat( info, sizeof( info ), search->pack->pakBasename );