Skip to content

Commit

Permalink
Make string wide or narrow depending on mode
Browse files Browse the repository at this point in the history
  • Loading branch information
IssMneur committed Apr 11, 2015
1 parent 2928620 commit 456aab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/tabs/WelcomePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ void WelcomePage::UpdateNews(wxIdleEvent& WXUNUSED(event)) {

void WelcomePage::getOrPromptUpdateNews(wxIdleEvent &WXUNUSED(event)) {
this->Disconnect(wxEVT_IDLE, wxIdleEventHandler(WelcomePage::getOrPromptUpdateNews));
wxCHECK_RET(updateNewsCheck != NULL, "checkbox is NULL");
wxCHECK_RET(updateNewsCheck != NULL, wxT("checkbox is NULL"));

bool updateNews;
if (!ProMan::GetProfileManager()->GlobalRead(GBL_CFG_NET_DOWNLOAD_NEWS, &updateNews)) {
Expand Down

0 comments on commit 456aab1

Please sign in to comment.