about summary refs log tree commit diff
path: root/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'state.c')
-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, " ");
title='2020-05-07 11:46:03 -0400'>2020-05-07Update nvim MANPAGERJune McEnroe Not sure when this was added. Has the advantage of working properly in more versions of man(1) it seems. 2020-05-06Post "casual update"June McEnroe 2020-05-06Remove bman functionJune McEnroe