added missing check

xkbcommon
Alessandro Mauri 4 years ago
parent 0486872d78
commit 633604cefa
  1. 3
      hkd.c

@ -820,7 +820,8 @@ void parse_config_file (void)
linenum - 1, cp_tmp); linenum - 1, cp_tmp);
exit(-1); exit(-1);
} }
key_buffer_add(&kb, us_tmp); if (key_buffer_add(&kb, us_tmp))
die("Too many keys");
} while ((cp_tmp = strtok(NULL, ","))); } while ((cp_tmp = strtok(NULL, ",")));
cp_tmp = cmd; cp_tmp = cmd;

Loading…
Cancel
Save