Re #312 (Games freeze on pit stop) Fixed windows port

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3322 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: de08ff750c5871951c3105aaa8bc1cbd9bd723f3
Former-commit-id: 35bb7b04dffbd89b3f085ce107864e878a13e4f4
This commit is contained in:
pouillot 2011-02-06 14:39:36 +00:00
parent e10db800a9
commit 07ff011f9f

View file

@ -884,7 +884,7 @@ GfuiAddKey(void *scr, int key, const char *descr, void *userData,
} while ((curKey2 = curKey2->next) != screen->userKeys);
// Not found => add at the beginning of the list.
if (not bFound) {
if (!bFound) {
curKey->next = screen->userKeys->next;
screen->userKeys->next = curKey;
screen->userKeys = curKey;