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:
+4
-2
@@ -1,6 +1,8 @@
|
|||||||
Changes towards version 0.7:
|
Changes towards version 0.7:
|
||||||
- Support for 3do "ship spin" videos (TODO: Update with bug # and proper
|
- Fixed a crash on startup if uqm.cfg did not exist, flagged and fixed
|
||||||
credits)
|
by jdorje - MIchael
|
||||||
|
- Support for 3do "ship spin" videos (Bug #733, patch by Jan Lönnberg)
|
||||||
|
-Michael
|
||||||
- Major refactoring of input configuration to use the resource system
|
- Major refactoring of input configuration to use the resource system
|
||||||
instead of custom files (bugs #961 and #949) - Michael
|
instead of custom files (bugs #961 and #949) - Michael
|
||||||
- Added ability to remove entries from ALists - Michael
|
- Added ability to remove entries from ALists - Michael
|
||||||
|
|||||||
@@ -115,6 +115,10 @@ const char *
|
|||||||
Alist_RemoveString (alist *m, const char *key)
|
Alist_RemoveString (alist *m, const char *key)
|
||||||
{
|
{
|
||||||
alist_entry *todel = NULL;
|
alist_entry *todel = NULL;
|
||||||
|
if (!m->first)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
if (!strcmp (m->first->key, key))
|
if (!strcmp (m->first->key, key))
|
||||||
{
|
{
|
||||||
todel = m->first;
|
todel = m->first;
|
||||||
|
|||||||
Reference in New Issue
Block a user