summaryrefslogtreecommitdiff
path: root/amiga/plugin_hack.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/plugin_hack.c')
-rw-r--r--amiga/plugin_hack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/plugin_hack.c b/amiga/plugin_hack.c
index 7e6cbcb4e..9159cddb0 100644
--- a/amiga/plugin_hack.c
+++ b/amiga/plugin_hack.c
@@ -81,7 +81,8 @@ nserror amiga_plugin_hack_init(void)
{
LOG(("plugin_hack registered %s\n",lwc_string_data(type)));
- error = content_factory_register_handler(type,
+ error = content_factory_register_handler(
+ lwc_string_data(type),
&amiga_plugin_hack_content_handler);
if (error != NSERROR_OK)