summaryrefslogtreecommitdiffstats
path: root/src/SourceWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SourceWindow.cc')
-rw-r--r--src/SourceWindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SourceWindow.cc b/src/SourceWindow.cc
index bb48071..ff12e8b 100644
--- a/src/SourceWindow.cc
+++ b/src/SourceWindow.cc
@@ -43,7 +43,7 @@ SourceWindow* SourceWindow::create() {
}
void SourceWindow::updateInfo(const SourceInfo &i) {
- char t[20], ss[PA_SAMPLE_SNPRINT_MAX_LENGTH];
+ char t[20], ss[PA_SAMPLE_SPEC_SNPRINT_MAX];
nameLabel->set_text(i.name);
descriptionLabel->set_text(i.description);