strcpy((char*)h->Target, ActionName);
memcpy(h->Keys, Keys, nKeys * sizeof(uint32_t));
- h->Next = NULL;
- if( gpWM_Hotkeys )
- gpWM_Hotkeys->Next = h;
+ h->Next = gpWM_Hotkeys;
gpWM_Hotkeys = h;
}
if( _IsKeySet(hk->Keys[i]) ) continue ;
break;
}
- _SysDebug("%i/%i satisfied for %s", i, hk->nKeys, hk->Target);
+ //_SysDebug("%i/%i satisfied for %s", i, hk->nKeys, hk->Target);
if( i != hk->nKeys )
continue ;