Skip to content

Commit

Permalink
Fix env var name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Aug 15, 2022
1 parent 08978e5 commit a2d2907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turbojpeg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a2d2907

Please sign in to comment.