Skip to content

Commit

Permalink
Make dialog return media.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabordemooij committed Sep 24, 2024
1 parent 3991bfc commit 888d227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/media/media.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 888d227

Please sign in to comment.