1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 02:46:44 +02:00

Add enum for file_type() and a little cleanup

This commit is contained in:
jfreegman
2018-10-08 22:28:36 -04:00
parent 258736995d
commit 8f0e6026f0
5 changed files with 30 additions and 18 deletions

View File

@ -512,7 +512,7 @@ static void groupchat_onKey(ToxWindow *self, Tox *m, wint_t key, bool ltr)
}
#ifdef PYTHON
else if (wcsncmp(ctx->line, L"/run \"", wcslen(L"/run ")) == 0) {
else if (wcsncmp(ctx->line, L"/run ", wcslen(L"/run ")) == 0) {
diff = dir_match(self, m, ctx->line, L"/run");
}