diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-04-02 19:36:57 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-04-02 19:36:57 +0400 |
commit | 24c9f650565e6a016cca9d45c7daee94dfcb7130 (patch) | |
tree | 89becedccd6ed77790f6c5c5e35280d9a4e560b4 /source/creator | |
parent | bdb86d7c6765724d297e7aa97dec4c0cc7d2bae9 (diff) |
- got tired of str[n]casecmp not declared warnings
- added BLI_str[n]casecmp, use instead of regular versions
- rewrote BLI_str[n]casecmp to not be stupid
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 6875a4ace89..7eecabca456 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -267,7 +267,7 @@ int main(int argc, char **argv) // need this. BLI_where_am_i(bprogname, argv[0]); - + /* Hack - force inclusion of the plugin api functions, * see blenpluginapi:pluginapi.c */ @@ -422,7 +422,7 @@ int main(int argc, char **argv) break; case 'n': case 'N': - if (strcasecmp(argv[a], "-noaudio") == 0|| strcasecmp(argv[a], "-nosound") == 0) { + if (BLI_strcasecmp(argv[a], "-noaudio") == 0|| BLI_strcasecmp(argv[a], "-nosound") == 0) { /** notify the gameengine that no audio is wanted, even if the user didn't give the flag -g noaudio. @@ -432,7 +432,7 @@ int main(int argc, char **argv) audio = 0; if (G.f & G_DEBUG) printf("setting audio to: %d\n", audio); } - else if (strcasecmp(argv[a], "-nofrozen") == 0) { + else if (BLI_strcasecmp(argv[a], "-nofrozen") == 0) { /* disable initialization of frozen python modules */ if (G.f & G_DEBUG) printf("disable frozen modules\n"); G.f |= G_NOFROZEN; |