diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-08 14:13:37 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-08 14:13:37 +0300 |
commit | 6bdceb9f1f05ac41d253d95e54d9f9f4594c2f98 (patch) | |
tree | ce1014fc17efa5e6d8d1b55b8f8e4274086ba603 /src/ui/command.c | |
parent | d6875fba63cc674d2d9cac64a66c3b4c9f3eaba1 (diff) |
Creating new tabs; cleaned up DocumentWidget
Diffstat (limited to 'src/ui/command.c')
-rw-r--r-- | src/ui/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/command.c b/src/ui/command.c index b79c8bcf..c0828343 100644 --- a/src/ui/command.c +++ b/src/ui/command.c | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | iBool equal_Command(const char *cmdWithArgs, const char *cmd) { | 7 | iBool equal_Command(const char *cmdWithArgs, const char *cmd) { |
8 | if (strchr(cmdWithArgs, ':')) { | 8 | if (strchr(cmdWithArgs, ':')) { |
9 | return beginsWith_CStr(cmdWithArgs, cmd) && cmdWithArgs[strlen(cmd)] == ' '; | 9 | return startsWith_CStr(cmdWithArgs, cmd) && cmdWithArgs[strlen(cmd)] == ' '; |
10 | } | 10 | } |
11 | return equal_CStr(cmdWithArgs, cmd); | 11 | return equal_CStr(cmdWithArgs, cmd); |
12 | } | 12 | } |