X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Ffile-archive.cpp;h=ffaac4285265080c377e30cf654db6477f8601c5;hb=c59d2be798005a3684d75c3f561568ad2cdac9c7;hp=10d3dbde2162924920f2ea92efd442c5f54a95da;hpb=cb00a4ce59df131e82f28deb4160015baae1fabe;p=guile-irrlicht.git diff --git a/src/file-archive.cpp b/src/file-archive.cpp index 10d3dbd..ffaac42 100644 --- a/src/file-archive.cpp +++ b/src/file-archive.cpp @@ -23,14 +23,12 @@ #include #include "file-archive.h" - using namespace irr; - io::E_FILE_ARCHIVE_TYPE scm_to_file_archive_type (SCM file_archive_type) { - char* type = scm_to_utf8_stringn (scm_symbol_to_string (file_archive_type), NULL); + char* type = scm_to_utf8_string (scm_symbol_to_string (file_archive_type)); if (!strcmp (type, "zip")) { return io::EFAT_ZIP;