From 888d2275f7f0552380b23d5cc1fe3a8fbbb4dff4 Mon Sep 17 00:00:00 2001 From: Gabor de Mooij Date: Tue, 24 Sep 2024 23:46:28 +0200 Subject: [PATCH] Make dialog return media. --- plugins/media/media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/media/media.c b/plugins/media/media.c index 5e7218a8..f2a89b0b 100644 --- a/plugins/media/media.c +++ b/plugins/media/media.c @@ -4121,7 +4121,7 @@ ctr_object* ctr_media_dialog(ctr_object* myself, ctr_argument* argumentList) { ); SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_INFORMATION, "Message", message, CtrMediaWindow); ctr_heap_free(message); - return CtrStdNil; + return myself; } /**