Skip to content

Commit

Permalink
Merge pull request #459 from aguycalled/missing-increased-buffer-cfun…
Browse files Browse the repository at this point in the history
…d-gui

Missing increased buffer for cfund gui
  • Loading branch information
proletesseract authored May 1, 2019
2 parents 3aaaef7 + 96c3776 commit 073ef14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/communityfunddisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void CommunityFundDisplay::refresh()
std::string expiry_title = "Rejected on: ";
std::time_t t = static_cast<time_t>(proptime);
std::stringstream ss;
char buf[24];
char buf[48];
if (strftime(buf, sizeof(buf), "%c %Z", std::gmtime(&t)))
ss << buf;
ui->labelTitleDuration->setText(QString::fromStdString(expiry_title));
Expand All @@ -108,7 +108,7 @@ void CommunityFundDisplay::refresh()
std::string expiry_title = "Expired on: ";
std::time_t t = static_cast<time_t>(proptime);
std::stringstream ss;
char buf[24];
char buf[48];
if (strftime(buf, sizeof(buf), "%c %Z", std::gmtime(&t)))
ss << buf;
ui->labelTitleDuration->setText(QString::fromStdString(expiry_title));
Expand Down

0 comments on commit 073ef14

Please sign in to comment.