(String command, int twokeys[])
| 724 | } |
| 725 | |
| 726 | private static void FindKeysForCommand(String command, int twokeys[]) { |
| 727 | int count; |
| 728 | int j; |
| 729 | String b; |
| 730 | |
| 731 | twokeys[0] = twokeys[1] = -1; |
| 732 | count = 0; |
| 733 | |
| 734 | for (j = 0; j < 256; j++) { |
| 735 | b = ClientGlobals.keybindings[j]; |
| 736 | if (b == null) |
| 737 | continue; |
| 738 | |
| 739 | if (b.equals(command)) { |
| 740 | twokeys[count] = j; |
| 741 | count++; |
| 742 | if (count == 2) |
| 743 | break; |
| 744 | } |
| 745 | } |
| 746 | } |
| 747 | |
| 748 | private static void KeyCursorDrawFunc(menuframework_s menu) { |
| 749 | if (bind_grab) |
no test coverage detected