Removed broken refs to fix -nix build

This commit is contained in:
=
2025-04-19 23:50:03 -07:00
parent 6ae813f8ab
commit 4c20994d59
3 changed files with 1 additions and 6 deletions

View File

@@ -1807,7 +1807,7 @@ load_keybinds(void)
{
p = ini_section_get_string(cat, acc_keys[x].name, "none");
// If there's no binding in the file, leave it alone.
if (p != "none")
if (strcmp(p, "none") != 0)
{
// It would be ideal to validate whether the user entered a
// valid combo at this point, but the Qt method for testing that is
@@ -2553,7 +2553,6 @@ static void
save_keybinds(void)
{
ini_section_t cat = ini_find_or_create_section(config, "Keybinds");
char temp[512];
for(int x=0;x<NUM_ACCELS;x++)
{