From 127a53d73c5dff3fac5b10ff3f1dd087938d8c7f Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Mon, 18 Aug 2014 21:05:46 +0200 Subject: [PATCH] Small improvement to PhysfsSubsystem debug output --- src/supertux/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/supertux/main.cpp b/src/supertux/main.cpp index c7efd5531..5f14737e2 100644 --- a/src/supertux/main.cpp +++ b/src/supertux/main.cpp @@ -217,11 +217,12 @@ public: void print_search_path() { const char* writedir = PHYSFS_getWriteDir(); - log_info << "PhysfsWritedDir: " << (writedir || "") << std::endl; + log_info << "PhysfsWritedDir: " << (writedir ? writedir : "(null)") << std::endl; + log_info << "PhysfsSearchPath:" << std::endl; char** searchpath = PHYSFS_getSearchPath(); for(char** i = searchpath; *i != NULL; ++i) { - log_info << "PhysfsSearchPath: " << *i << std::endl; + log_info << " " << *i << std::endl; } PHYSFS_freeList(searchpath); } -- 2.11.0