#include <libguile.h>
#include "driver-types.h"
-
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;