summaryrefslogtreecommitdiff
path: root/src/ui/command.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-08 14:13:37 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-08 14:13:37 +0300
commit6bdceb9f1f05ac41d253d95e54d9f9f4594c2f98 (patch)
treece1014fc17efa5e6d8d1b55b8f8e4274086ba603 /src/ui/command.c
parentd6875fba63cc674d2d9cac64a66c3b4c9f3eaba1 (diff)
Creating new tabs; cleaned up DocumentWidget
Diffstat (limited to 'src/ui/command.c')
-rw-r--r--src/ui/command.c2
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
7iBool equal_Command(const char *cmdWithArgs, const char *cmd) { 7iBool 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}