fixed wrong argument to vargs

main
Martin Felis 2011-05-06 14:31:28 +02:00
parent ef942fe580
commit 10701d787c
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.txt")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.txt") SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.txt")
SET(CPACK_PACKAGE_VERSION_MAJOR "0") SET(CPACK_PACKAGE_VERSION_MAJOR "0")
SET(CPACK_PACKAGE_VERSION_MINOR "9") SET(CPACK_PACKAGE_VERSION_MINOR "9")
SET(CPACK_PACKAGE_VERSION_PATCH "1") SET(CPACK_PACKAGE_VERSION_PATCH "8-rc2")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
SET(CPACK_PACKAGE_CONTACT "Martin Felis <martin@fysx.org>") SET(CPACK_PACKAGE_CONTACT "Martin Felis <martin@fysx.org>")

View File

@ -169,7 +169,7 @@ unsigned int Model::InitLevelList () {
boost::filesystem::path level_dir(level_dir_name); boost::filesystem::path level_dir(level_dir_name);
if (!boost::filesystem::exists(level_dir.file_string())) { if (!boost::filesystem::exists(level_dir.file_string())) {
Engine::LogError ("Could not init level list: %s does not exist!", level_dir.filename()); Engine::LogError ("Could not init level list: %s does not exist!", level_dir.filename().c_str());
} }
if (!boost::filesystem::is_directory(level_dir)) { if (!boost::filesystem::is_directory(level_dir)) {