summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-23 03:00:00 -0400
committerJune McEnroe <june@causal.agency>2019-10-23 03:00:00 -0400
commite4f6fad70dc25c80f3c11ee52d83ea37b20620e9 (patch)
treecd036f0149cc737bcf1fa25487fcbba575404b3d
parentAdd dynamic poll list (diff)
downloadpounce-e4f6fad70dc25c80f3c11ee52d83ea37b20620e9.tar.gz
pounce-e4f6fad70dc25c80f3c11ee52d83ea37b20620e9.zip
Fix rest parsing
Diffstat (limited to '')
-rw-r--r--state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.c b/state.c
index da777da..ecbf368 100644
--- a/state.c
+++ b/state.c
@@ -136,7 +136,7 @@ void stateParse(char *line) {
 	cmd.name = strsep(&line, " ");
 	for (size_t i = 0; line && i < ParamCap; ++i) {
 		if (line[0] == ':') {
-			cmd.params[i] = line;
+			cmd.params[i] = &line[1];
 			break;
 		}
 		cmd.params[i] = strsep(&line, " ");
e='2020-12-29 17:13:26 -0500'>2020-12-29Match top-level C definitions as IdentifierTagJune McEnroe 2020-12-29Match C type declarations as IdentifierTagJune McEnroe 2020-12-29Match function-like macro definitions as IdentifierTagJune McEnroe 2020-12-29Reconfigure C macro start conditionsJune McEnroe 2020-12-29Document HTML class namesJune McEnroe 2020-12-29Rename Tag class to IdentifierTagJune McEnroe 2020-12-29Change HTML class from hi to hilexJune McEnroe You can tell I was just copying the HTML code huh. 2020-12-29Add hilex HTML outputJune McEnroe