X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fdriver-types.cpp;h=3486251f27bad3365021e61d4a5a7de6ed2e73f9;hb=c59d2be798005a3684d75c3f561568ad2cdac9c7;hp=d0fec5065d042bf6e3990f48d045fffa3cd73cf9;hpb=10b175d2183bb4dbe9a53c773465ed714e890290;p=guile-irrlicht.git diff --git a/src/driver-types.cpp b/src/driver-types.cpp index d0fec50..3486251 100644 --- a/src/driver-types.cpp +++ b/src/driver-types.cpp @@ -23,14 +23,12 @@ #include #include "driver-types.h" - using namespace irr; - video::E_DRIVER_TYPE scm_to_driver_type (SCM driver_type) { - char* driverType = scm_to_utf8_stringn (scm_symbol_to_string (driver_type), NULL); + char* driverType = scm_to_utf8_string (scm_symbol_to_string (driver_type)); if (!strcmp (driverType, "null")) { return video::EDT_NULL;