X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fgui-environment.cpp;h=ae2e087eaa5edf77d65a3132541878faa9735c70;hb=df1088b80d2c90a390b0229ce5c6ffcc7665fda4;hp=1ee3e5d9212c18009efab2fbdc222fbc5e04dee1;hpb=c4d9e46f268b4f7f738dd77685c632991125cec9;p=guile-irrlicht.git 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); }