From 1edaf643c984c88411aca6214dbad1cf31f1355a Mon Sep 17 00:00:00 2001 From: MCorange Date: Thu, 27 Jun 2024 22:58:33 +0300 Subject: [PATCH] Fix help text --- dim_plugins/example_c/src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dim_plugins/example_c/src/main.c b/dim_plugins/example_c/src/main.c index addd358..a45ca4d 100644 --- a/dim_plugins/example_c/src/main.c +++ b/dim_plugins/example_c/src/main.c @@ -15,7 +15,8 @@ typedef struct plug_t { plug_t* p = {0}; -// If any function returns 0/NULL the plugin will be disabled +// If any function returns not 0 the plugin will be disabled +// Except for `pre_reload`, the plugin will be disabled if it is NULL int plug_init(plug_ctx_t* ctx) { setup_ctx(ctx); p = malloc(sizeof(plug_t));