summaryrefslogtreecommitdiffstats
path: root/PC/os2vacpp
diff options
context:
space:
mode:
Diffstat (limited to 'PC/os2vacpp')
-rw-r--r--PC/os2vacpp/getpathp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/os2vacpp/getpathp.c b/PC/os2vacpp/getpathp.c
index 69e38cb..d45c2f7 100644
--- a/PC/os2vacpp/getpathp.c
+++ b/PC/os2vacpp/getpathp.c
@@ -389,7 +389,7 @@ calculate_path()
}
else
bufsz = 0;
- bufsz += strlen(PYTHONPATH);
+ bufsz += strlen(PYTHONPATH) + 1;
if (envpath != NULL)
bufsz += strlen(envpath) + 1;
bufsz += strlen(argv0_path) + 1;