diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-06 07:56:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-06 07:56:03 +0300 |
commit | f38ad4c66bee4fd28dbfe3fa4662fb6f8eb7d1c5 (patch) | |
tree | 519307199419c9cfe883ba8551a76196e2b918a8 /source/blender/imbuf/intern/png.c | |
parent | 2d803d3f6d803ab6098410c56048f1df1ba48ee0 (diff) |
Cleanup: replace STREQLEN with STRPREFIX for constant strings
Diffstat (limited to 'source/blender/imbuf/intern/png.c')
-rw-r--r-- | source/blender/imbuf/intern/png.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/png.c b/source/blender/imbuf/intern/png.c index dbae641f707..c4fbd3f7563 100644 --- a/source/blender/imbuf/intern/png.c +++ b/source/blender/imbuf/intern/png.c @@ -521,7 +521,7 @@ static void imb_png_warning(png_structp UNUSED(png_ptr), png_const_charp message * and with new libpng it became too much picky, giving a warning on * the splash screen even. */ - if ((G.debug & G_DEBUG) == 0 && STREQLEN(message, "iCCP", 4)) { + if ((G.debug & G_DEBUG) == 0 && STRPREFIX(message, "iCCP")) { return; } fprintf(stderr, "libpng warning: %s\n", message); |