Skip to content

Commit 073ef14

Browse files
Merge pull request #459 from aguycalled/missing-increased-buffer-cfund-gui
Missing increased buffer for cfund gui
2 parents 3aaaef7 + 96c3776 commit 073ef14

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/qt/communityfunddisplay.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void CommunityFundDisplay::refresh()
9393
std::string expiry_title = "Rejected on: ";
9494
std::time_t t = static_cast<time_t>(proptime);
9595
std::stringstream ss;
96-
char buf[24];
96+
char buf[48];
9797
if (strftime(buf, sizeof(buf), "%c %Z", std::gmtime(&t)))
9898
ss << buf;
9999
ui->labelTitleDuration->setText(QString::fromStdString(expiry_title));
@@ -108,7 +108,7 @@ void CommunityFundDisplay::refresh()
108108
std::string expiry_title = "Expired on: ";
109109
std::time_t t = static_cast<time_t>(proptime);
110110
std::stringstream ss;
111-
char buf[24];
111+
char buf[48];
112112
if (strftime(buf, sizeof(buf), "%c %Z", std::gmtime(&t)))
113113
ss << buf;
114114
ui->labelTitleDuration->setText(QString::fromStdString(expiry_title));

0 commit comments

Comments
 (0)