configure.in: clean up final configuration report.

cl_main.c, cl_slist.c: Make server listing expand ~
This commit is contained in:
Jeff Teunissen 2000-05-24 22:36:59 +00:00
parent 6db71530c7
commit eb38ab097c
3 changed files with 11 additions and 6 deletions

View file

@ -184,9 +184,12 @@ server_entry_t *Server_List_LoadF (FILE *f,server_entry_t *start) { // This coul
}
void Server_List_Shutdown (server_entry_t *start) {
FILE *f;
FILE *f;
char e_path[MAX_OSPATH];
if (start) {
if ((f = fopen(va("%s/servers.txt",fs_userpath->string),"w"))) {
Qexpand_squiggle(fs_userpath->string, e_path);
if ((f = fopen(va("%s/servers.txt", e_path),"w"))) {
Server_List_SaveF(f,start);
fclose(f);
}