From ad7a7788a06d121e1c8ad3340efdd08ae06a7c41 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 8 May 2016 19:01:09 +0100 Subject: [PATCH] Default to INFO level. --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 84f0ba6..1bb97dc 100644 --- a/src/main.c +++ b/src/main.c @@ -29,7 +29,7 @@ int main(int argc, char *argv[]) long expireTextTimer; SDL_Event event; - SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_WARN); + SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO); memset(&app, 0, sizeof(App)); memset(&dev, 0, sizeof(Dev)); @@ -194,9 +194,9 @@ static void handleArguments(int argc, char *argv[]) SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG); } - if (strcmp(argv[i], "-info") == 0) + if (strcmp(argv[i], "-warn") == 0) { - SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO); + SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_WARN); } } }