]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - src/animated-mesh-md2.cpp
fix char related code
[guile-irrlicht.git] / src / animated-mesh-md2.cpp
index 11e680fb11fd06e89b108972a1ad579302884d9c..141a634b486df0220ac7c1e51a611deda2086568 100644 (file)
@@ -28,7 +28,7 @@ using namespace irr;
 scene::EMD2_ANIMATION_TYPE
 scm_to_md2_animation_type (SCM md2_animation_type)
 {
-  char* flag = scm_to_utf8_stringn (scm_symbol_to_string (md2_animation_type), NULL);
+  char* flag = scm_to_utf8_string (scm_symbol_to_string (md2_animation_type));
   if (!strcmp (flag, "stand"))
     {
       return scene::EMAT_STAND;