Skip to content

Commit

Permalink
Renamed a struct that escaped the t-prefix purge
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Vultraz committed Apr 24, 2017
1 parent 3560027 commit 6cde201
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/gui/dialogs/message.cpp
Expand Up @@ -48,7 +48,7 @@ struct message_implementation
* @param id The id of the button.
*/
static void init_button(window& window,
message::tbutton_status& button_status,
message::button_status& button_status,
const std::string& id)
{
button_status.ptr = find_widget<button>(&window, id, false, true);
Expand Down Expand Up @@ -136,7 +136,7 @@ void message::set_button_retval(const button_id button, const int retval)
}
}

message::tbutton_status::tbutton_status()
message::button_status::button_status()
: ptr(nullptr)
, caption()
, visible(widget::visibility::invisible)
Expand Down
6 changes: 3 additions & 3 deletions src/gui/dialogs/message.hpp
Expand Up @@ -138,9 +138,9 @@ class message : public modal_dialog
/** Whether to enable formatting markup for the dialog message. */
bool message_use_markup_;

struct tbutton_status
struct button_status
{
tbutton_status();
button_status();

button* ptr;
std::string caption;
Expand All @@ -149,7 +149,7 @@ class message : public modal_dialog
};

/** Holds a pointer to the buttons. */
std::vector<tbutton_status> buttons_;
std::vector<button_status> buttons_;

/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
virtual const std::string& window_id() const override;
Expand Down

0 comments on commit 6cde201

Please sign in to comment.