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:
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r--source/creator/creator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 9889eacc5db..3d0b558a502 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -779,7 +779,7 @@ static int set_audio(int argc, const char **argv, void *UNUSED(data))
static int set_output(int argc, const char **argv, void *data)
{
bContext *C = data;
- if (argc >= 1) {
+ if (argc > 1) {
Scene *scene = CTX_data_scene(C);
if (scene) {
BLI_strncpy(scene->r.pic, argv[1], sizeof(scene->r.pic));
@@ -897,7 +897,7 @@ static int set_verbosity(int argc, const char **argv, void *UNUSED(data))
static int set_extension(int argc, const char **argv, void *data)
{
bContext *C = data;
- if (argc >= 1) {
+ if (argc > 1) {
Scene *scene = CTX_data_scene(C);
if (scene) {
if (argv[1][0] == '0') {