From 17e1e2bfd8dfbd6f6fc42cc305e93393342020f7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 5 Feb 2021 16:23:34 +1100 Subject: Cleanup: correct spelling in comments --- source/creator/creator_args.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/creator/creator_args.c') diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index b75a6a624d5..98a8a7aa189 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -1160,7 +1160,7 @@ static int arg_handle_env_system_set(int argc, const char **argv, void *UNUSED(d } for (; *ch_src; ch_src++, ch_dst++) { - *ch_dst = (*ch_src == '-') ? '_' : (*ch_src) - 32; /* toupper() */ + *ch_dst = (*ch_src == '-') ? '_' : (*ch_src) - 32; /* Inline #toupper() */ } *ch_dst = '\0'; @@ -1958,7 +1958,7 @@ static int arg_handle_load_file(int UNUSED(argc), const char **argv, void *data) if (success) { if (G.background) { - /* ensuer we use 'C->data.scene' for background render */ + /* Ensure we use 'C->data.scene' for background render. */ CTX_wm_window_set(C, NULL); } } -- cgit v1.2.3