Usermode/AxWin3 - Fixed undefined memory usage
authorJohn Hodge <[email protected]>
Tue, 26 Mar 2013 15:31:37 +0000 (23:31 +0800)
committerJohn Hodge <[email protected]>
Tue, 26 Mar 2013 15:31:37 +0000 (23:31 +0800)
Usermode/Applications/axwin3_src/WM/wm_hotkeys.c

index bdea09c..2a93b54 100644 (file)
@@ -64,6 +64,7 @@ void WM_Hotkey_RegisterAction(const char *ActionName, tWindow *Target, uint16_t
        strcpy((char*)t->Name, ActionName);
        t->Window = Target;
        t->Index = Index;
+       t->Next = NULL;
 
        // TODO: Register to be informed when the window dies/closes?
 

UCC git Repository :: git.ucc.asn.au