Fix env var name typo

This commit is contained in:
Kornel
2022-08-15 02:13:17 +01:00
parent 08978e58db
commit a2d2907ff0

View File

@@ -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);