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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user