X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fmaterial-types.cpp;h=5faad7374f1fbc42879f9a1d60ccfb811f5c5947;hb=4f049544ec827a9f1f16a913d7241f29179fdde7;hp=07d3b618ac94c616cec04a1952964276230eff40;hpb=43adc2c61ad0522ed508cfeba11181f74b7d607f;p=guile-irrlicht.git diff --git a/src/material-types.cpp b/src/material-types.cpp index 07d3b61..5faad73 100644 --- a/src/material-types.cpp +++ b/src/material-types.cpp @@ -23,14 +23,12 @@ #include #include "material-types.h" - using namespace irr; - video::E_MATERIAL_TYPE scm_to_material_type (SCM material_type) { - char* type = scm_to_utf8_stringn (scm_symbol_to_string (material_type), NULL); + char* type = scm_to_utf8_string (scm_symbol_to_string (material_type)); if (!strcmp (type, "solid")) { return video::EMT_SOLID;