]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - src/vertex3d.cpp
fix char related code
[guile-irrlicht.git] / src / vertex3d.cpp
index 9b7a1e874d7408a59f1c2f9ae2fff68185a3034f..2bc305c524f5624146bd3e92d6d15cc759b50c87 100644 (file)
@@ -60,7 +60,7 @@ init_vertex3d (void)
 video::E_VERTEX_TYPE
 scm_to_vertex_type (SCM vertex_type)
 {
-  char* type = scm_to_utf8_stringn (scm_symbol_to_string (vertex_type), NULL);
+  char* type = scm_to_utf8_string (scm_symbol_to_string (vertex_type));
   if (!strcmp (type, "standard"))
     {
       return video::EVT_STANDARD;