From 03f8528315fa46c95991a34f3325d7b33ae5538c Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Sat, 02 May 2020 21:48:36 +0000
Subject: [PATCH] Update source to SDL2 2.0.12
---
source/test/testautomation.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/source/test/testautomation.c b/source/test/testautomation.c
index bb799ea..bc7fa52 100644
--- a/source/test/testautomation.c
+++ b/source/test/testautomation.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
+ Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@@ -80,8 +80,8 @@
}
}
if (consumed < 0) {
- SDL_Log("Usage: %s %s [--iterations #] [--execKey #] [--seed string] [--filter suite_name|test_name]\n",
- argv[0], SDLTest_CommonUsage(state));
+ static const char *options[] = { "[--iterations #]", "[--execKey #]", "[--seed string]", "[--filter suite_name|test_name]", NULL };
+ SDLTest_CommonLogUsage(state, argv[0], options);
quit(1);
}
--
Gitblit v1.9.3