Re: [AD] Removing the default close button support |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> const char *_al_default_close_dialog_message_en = "blah blah blah";
>
> #define DEFAULT_MSG _al_default_close_dialog_message_en
>
> void set_close_button_callback(void (*proc)(void), const char *msg)
> {
> if (msg == _al_default_close_dialog_message_en)
> msg = get_config_text(msg);
>
> ...
> }
Better indeed. And it is compatible with Grzegorz' patch, so I'm ok for it.
Have we cleared all the potential issues ? If so, I'll submit a complete
patch.
--
Eric Botcazou