Save us 35 warnings about hooks_register_hook() return checks.
[claws.git] / src / plugins / python / python_plugin.c
index 0b0d81399b277f5cfc5dfd2dcbd13cf137763c31..1634a761efa09993542e8081d2d260dac672a0e2 100644 (file)
@@ -653,7 +653,7 @@ gint plugin_init(gchar **error)
 
   /* load hooks */
   hook_compose_create = hooks_register_hook(COMPOSE_CREATED_HOOKLIST, my_compose_create_hook, NULL);
-  if(hook_compose_create == (guint)-1) {
+  if(hook_compose_create == (guint) -1) {
     *error = g_strdup(_("Failed to register \"compose create hook\" in the Python plugin"));
     return -1;
   }