From 2769c74c745aa467b26d55f8f7f176e181c36e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Finn=20R=2E=20G=C3=A4rtner?= <65015656+FinnRG@users.noreply.github.com> Date: Wed, 13 Jul 2022 11:33:32 +0200 Subject: [PATCH] fix(env_loader): Off by one error (#668) --- src/env_loader.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env_loader.zig b/src/env_loader.zig index c7dc079e8e..f8d71be566 100644 --- a/src/env_loader.zig +++ b/src/env_loader.zig @@ -363,7 +363,7 @@ pub const Lexer = struct { }, ' ' => { // Set key end to the last non space character - key_end = this.current - 1; + key_end = this.current; this.step(); while (this.codepoint() == ' ') this.step(); continue;