Commit 478e692d authored by Kenneth Moreland's avatar Kenneth Moreland

Typo. Gave wrong (nonexistant) variable to putenv.

parent 7b978be1
......@@ -254,7 +254,7 @@ static int MaxImageSplitTryMax()
#ifdef _WIN32
sprintf(image_split_string, "ICET_MAX_IMAGE_SPLIT=%d", max_image_split);
putenv(env_string);
putenv(image_split_string);
#else
sprintf(image_split_string, "%d", max_image_split);
setenv("ICET_MAX_IMAGE_SPLIT", image_split_string, ICET_TRUE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment