summaryrefslogtreecommitdiffstats
path: root/src/SourceOutputWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SourceOutputWindow.cc')
-rw-r--r--src/SourceOutputWindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SourceOutputWindow.cc b/src/SourceOutputWindow.cc
index e2cc5db..fde5c0e 100644
--- a/src/SourceOutputWindow.cc
+++ b/src/SourceOutputWindow.cc
@@ -48,7 +48,7 @@ SourceOutputWindow* SourceOutputWindow::create() {
}
void SourceOutputWindow::updateInfo(const SourceOutputInfo &i) {
- char t[100], ss[PA_SAMPLE_SNPRINT_MAX_LENGTH];
+ char t[100], ss[PA_SAMPLE_SPEC_SNPRINT_MAX];
nameLabel->set_text(i.name);
snprintf(t, sizeof(t), "#%u", i.index);