- Fix --add when one server without type is specified whose port matches

exactly one game.


git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@650 d2ac09be-c843-0410-8b1f-f8a84130e0ec
This commit is contained in:
Ludwig Nussel 2004-08-15 19:23:50 +00:00 committed by l-n
parent a9826ce0bf
commit 4b355c7aa8
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,7 @@
Aug 15, 2004: Ludwig Nussel <l-n@users.sourceforge.net>
- Fix compile with gcc 2.95 (patch by Thomas Zajic)
- Fix --add when one server without type is specified whose port matches
exactly one game.
Aug 14, 2004: Ludwig Nussel <l-n@users.sourceforge.net>
- Use TGA loader from quake2 if gdk-pixbuf fails to load a mapshot. Useful for

View File

@ -3757,6 +3757,10 @@ gboolean check_cmdline_launch(gpointer nothing)
{
addrstring = add_server_dialog (&type, token[0]);
}
else
{
addrstring = g_strdup(cmdline_add_server);
}
}
prepare_new_server_to_favorites(type, addrstring, cmdline_launch);