summaryrefslogtreecommitdiff
path: root/lsp-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lsp-parse.c')
-rw-r--r--lsp-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp-parse.c b/lsp-parse.c
index c89a8c4..4b05f29 100644
--- a/lsp-parse.c
+++ b/lsp-parse.c
@@ -63,7 +63,7 @@ static bool parse_position(LSP *lsp, const JSON *json, JSONValue pos_value, LSPP
|| !lsp_expect_number(lsp, character, "document column number"))
return false;
pos->line = (u32)line.val.number;
- pos->character = (u32)line.val.number;
+ pos->character = (u32)character.val.number;
return true;
}