(OSX) settings.m - cleanup

This commit is contained in:
Twinaphex 2014-07-19 06:05:08 +02:00
parent df005ba50a
commit 3d7e6d844f

View File

@ -64,9 +64,8 @@ static void* const associated_name_tag = (void*)&associated_name_tag;
- (void)checkBind:(NSTimer*)send
{
int32_t value, index;
value = 0;
index = _setting->index ? _setting->index - 1 : 0;
int32_t value = 0;
int32_t index = _setting->index ? _setting->index - 1 : 0;
if ((value = apple_input_find_any_key()))
BINDFOR(*_setting).key = input_translate_keysym_to_rk(value);