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 1801d78..e0be054 100644
--- a/src/mot-encoder.cpp
+++ b/src/mot-encoder.cpp
@@ -894,7 +894,7 @@ void writeDLS(int output_fd, const char* dls_file, int padlen, uint8_t charset)
while ( endp > dlstext &&
(*endp == '\0' || *endp == '\n')) {
if (*endp == '\n') {
- *endp == '\0';
+ *endp = '\0';
}
endp--;
}