Small improvement to PhysfsSubsystem debug output
[supertux.git] / src / supertux / main.cpp
index c7efd55..5f14737 100644 (file)
@@ -217,11 +217,12 @@ public:
   void print_search_path()
   {
     const char* writedir = PHYSFS_getWriteDir();
-    log_info << "PhysfsWritedDir: " << (writedir || "<null>") << 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);
   }