Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-06 07:56:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-06 07:56:03 +0300
commitf38ad4c66bee4fd28dbfe3fa4662fb6f8eb7d1c5 (patch)
tree519307199419c9cfe883ba8551a76196e2b918a8 /source/creator
parent2d803d3f6d803ab6098410c56048f1df1ba48ee0 (diff)
Cleanup: replace STREQLEN with STRPREFIX for constant strings
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 8b64ca01650..03608b59117 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -349,7 +349,7 @@ int main(int argc,
#if defined(__APPLE__) && !defined(WITH_PYTHON_MODULE) && !defined(WITH_HEADLESS)
/* Patch to ignore argument finder gives us (PID?) */
- if (argc == 2 && STREQLEN(argv[1], "-psn_", 5)) {
+ if (argc == 2 && STRPREFIX(argv[1], "-psn_")) {
extern int GHOST_HACK_getFirstFile(char buf[]);
static char firstfilebuf[512];