Unequal 18x18 or above was unplayable due to a clash with the undocumented
"H" (hint) key. Resolve the clash by making the hint function only fire
when no square is selected.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8200
cda61777-01e9-0310-a592-
d414129be87e
return "";
}
}
- if (button == 'H' || button == 'h')
- return dupstr("H");
if (ui->hx != -1 && ui->hy != -1) {
debug(("button %d, cbutton %d", button, (int)((char)button)));
return dupstr(buf);
}
+
+ if (button == 'H' || button == 'h')
+ return dupstr("H");
+
return NULL;
}