From a2d2907ff023227e80c1e4efa809812410275a12 Mon Sep 17 00:00:00 2001 From: Kornel Date: Mon, 15 Aug 2022 02:13:17 +0100 Subject: [PATCH] Fix env var name typo --- turbojpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbojpeg.c b/turbojpeg.c index feac3e88e..148ab0f25 100644 --- a/turbojpeg.c +++ b/turbojpeg.c @@ -288,7 +288,7 @@ static void setCompDefaults(struct jpeg_compress_struct *cinfo, cinfo->in_color_space = pf2cs[pixelFormat]; cinfo->input_components = tjPixelSize[pixelFormat]; #ifndef NO_GETENV - if (!GETENV_S(env, 7, "TJ_REVERTe") && !strcmp(env, "1")) + if (!GETENV_S(env, 7, "TJ_REVERT") && !strcmp(env, "1")) cinfo->master->compress_profile=JCP_FASTEST; #endif jpeg_set_defaults(cinfo);