Fixed a crash bug if starting with no uqm.cfg

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2713 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2007-03-29 03:53:15 +00:00
parent 4b3aa77450
commit f69b7bddec
2 changed files with 8 additions and 2 deletions
+4
View File
@@ -115,6 +115,10 @@ const char *
Alist_RemoveString (alist *m, const char *key)
{
alist_entry *todel = NULL;
if (!m->first)
{
return NULL;
}
if (!strcmp (m->first->key, key))
{
todel = m->first;