aboutsummaryrefslogtreecommitdiffstats
path: root/src/mot-encoder.cpp
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2015-04-10 15:04:10 +0200
committerStefan Pöschel <github@basicmaster.de>2015-04-10 15:04:10 +0200
commit61f9c53fb58f5668174d0985a75197e8ca74de1b (patch)
treef8f860d023d4d8b962dbaa37249440c12f83b35b /src/mot-encoder.cpp
parentc49760a51049f754fac2e5fc9a6b6fc3036b9f62 (diff)
downloadODR-PadEnc-61f9c53fb58f5668174d0985a75197e8ca74de1b.tar.gz
ODR-PadEnc-61f9c53fb58f5668174d0985a75197e8ca74de1b.tar.bz2
ODR-PadEnc-61f9c53fb58f5668174d0985a75197e8ca74de1b.zip
Fix trailing \n removal
Diffstat (limited to 'src/mot-encoder.cpp')
-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--;
}