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 <campbell@blender.org>2022-09-13 06:24:44 +0300
committerCampbell Barton <campbell@blender.org>2022-09-13 06:24:44 +0300
commit1a08a263884af2a9fba44107fcddbc70f336b02b (patch)
treede26b2d16294360c42ed76a740b4ddbc85a674e1 /source/creator
parentc05ff54795af36e04d6e9a5450d65ea8633ca48e (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 7f236a39974..2d8b1e16098 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -286,12 +286,11 @@ int main(int argc,
_putenv_s("OMP_WAIT_POLICY", "PASSIVE");
# endif
- /* Win32 Unicode Arguments. */
- /* NOTE: cannot use `guardedalloc` allocation here, as it's not yet initialized
- * (it depends on the arguments passed in, which is what we're getting here!)
- */
# ifdef USE_WIN32_UNICODE_ARGS
+ /* Win32 Unicode Arguments. */
{
+ /* NOTE: Can't use `guardedalloc` allocation here, as it's not yet initialized
+ * (it depends on the arguments passed in, which is what we're getting here!) */
wchar_t **argv_16 = CommandLineToArgvW(GetCommandLineW(), &argc);
argv = malloc(argc * sizeof(char *));
for (argv_num = 0; argv_num < argc; argv_num++) {