aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mot-encoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp
index e0be054..2cd497f 100644
--- a/src/mot-encoder.cpp
+++ b/src/mot-encoder.cpp
@@ -872,7 +872,7 @@ void packMscDG(unsigned char* b, MSCDG* msc, unsigned short int* bsize)
void writeDLS(int output_fd, const char* dls_file, int padlen, uint8_t charset)
{
- char dlstext[MAXDLS];
+ char dlstext[MAXDLS + 1];
int dlslen;
int i;