]> 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 3cd2d39e82a9451566e3df83df2ee8fd8253d1b6..141a634b486df0220ac7c1e51a611deda2086568 100644 (file)
 #include <libguile.h>
 #include "animated-mesh-md2.h"
 
-
 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;