This commit is contained in:
2024-07-25 17:34:38 +01:00
parent 7c46f30e62
commit a719af8265
3 changed files with 4 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ bool is_comment(char *s)
*/
struct quickcommand *command_in_quickcommands(const char *command_key, const struct quickcommand *quickcommands, int n)
{
for (int i = 0; i < n; i++)
for (int i = 0; i < n; ++i)
{
if (strcmp(command_key, quickcommands[i].name) == 0)
{