X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=src%2Fdriver-types.cpp;h=3486251f27bad3365021e61d4a5a7de6ed2e73f9;hp=d18ecfa34952f9404ed41140146d85465ef50307;hb=4f049544ec827a9f1f16a913d7241f29179fdde7;hpb=c4d9e46f268b4f7f738dd77685c632991125cec9 diff --git a/src/driver-types.cpp b/src/driver-types.cpp index d18ecfa..3486251 100644 --- a/src/driver-types.cpp +++ b/src/driver-types.cpp @@ -28,7 +28,7 @@ using namespace irr; video::E_DRIVER_TYPE scm_to_driver_type (SCM driver_type) { - char* driverType = scm_to_utf8_stringn (scm_symbol_to_string (driver_type), NULL); + char* driverType = scm_to_utf8_string (scm_symbol_to_string (driver_type)); if (!strcmp (driverType, "null")) { return video::EDT_NULL;