aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/env_loader.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env_loader.zig b/src/env_loader.zig
index c7dc079e8..f8d71be56 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;