X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=src%2Fgui-environment.cpp;h=ae2e087eaa5edf77d65a3132541878faa9735c70;hp=1ee3e5d9212c18009efab2fbdc222fbc5e04dee1;hb=4f049544ec827a9f1f16a913d7241f29179fdde7;hpb=c4d9e46f268b4f7f738dd77685c632991125cec9 diff --git a/src/gui-environment.cpp b/src/gui-environment.cpp index 1ee3e5d..ae2e087 100644 --- a/src/gui-environment.cpp +++ b/src/gui-environment.cpp @@ -186,7 +186,7 @@ IGUIEnvironment_getFont (SCM gui_environment, { gui::IGUIFont* font = ((gui::IGUIEnvironment*)scm_to_irr_pointer (gui_environment))-> - getFont (scm_to_utf8_stringn (filename, NULL)); + getFont (scm_to_utf8_string (filename)); return scm_from_pointer ((void*)font, NULL); }