mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-11 15:16:27 +01:00
Fix for bug 1653 (Nyquist *Table* size limit)
as suggested by RBD in comment #1
This commit is contained in:
@@ -408,7 +408,7 @@ table_type sound_to_table(sound_type s)
|
||||
|
||||
if (len >= max_table_len) {
|
||||
char emsg[100];
|
||||
sprintf(emsg, "maximum table size (%d) exceeded", max_table_len);
|
||||
sprintf(emsg, "maximum table size (%d) exceeded", max_table_len - 1);
|
||||
xlcerror("use truncated sound for table", emsg, NIL);
|
||||
} else if (len == 0) {
|
||||
xlabort("table size must be greater than 0");
|
||||
|
||||
Reference in New Issue
Block a user