From: Michael Tremer Date: Thu, 19 Sep 2024 13:10:02 +0000 (+0000) Subject: tui: Return the pointer to the main object X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9bf9a87f137cfbaf8b234fe869d01ecc13596b04;p=fireperf.git tui: Return the pointer to the main object Signed-off-by: Michael Tremer --- diff --git a/src/tui.c b/src/tui.c index a95cb83..4c837cd 100644 --- a/src/tui.c +++ b/src/tui.c @@ -168,6 +168,9 @@ int fireperf_tui_init(struct fireperf_tui** tui, struct fireperf_ctx* ctx) { if (r) return r; + // Return the TUI + *tui = t; + return 0; }