From: Ingo Ruhnke Date: Mon, 18 Aug 2014 19:05:46 +0000 (+0200) Subject: Small improvement to PhysfsSubsystem debug output X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=127a53d73c5dff3fac5b10ff3f1dd087938d8c7f;p=supertux.git Small improvement to PhysfsSubsystem debug output --- 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); }