about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-07-14 08:52:45 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-07-14 08:52:45 +0200
commit0cb4fa67f11505ea28a7624ca6165a0089c952f6 (patch)
tree062986c4c62beaaf32c6c9041c4ecc2f347e926f /src
parentbf79be222cbe73d25b2d90232467f61f4f85a88d (diff)
downloadbox64-0cb4fa67f11505ea28a7624ca6165a0089c952f6.tar.gz
box64-0cb4fa67f11505ea28a7624ca6165a0089c952f6.zip
Fixed BOX86_ENVx handling (for #347)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 124b0224..55dbb8f0 100755
--- a/src/main.c
+++ b/src/main.c
@@ -759,7 +759,7 @@ void LoadEnvVars(box64context_t *context)
         char* p = getenv("BOX64_ENV");
         if(p)
             addNewEnvVar(p);
-        int i = 0;
+        int i = 1;
         char box64_env[50];
         do {
             sprintf(box64_env, "BOX64_ENV%d", i);