diff options
author | Stefan Pöschel <github@basicmaster.de> | 2015-04-10 15:04:10 +0200 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2015-04-10 15:04:10 +0200 |
commit | 61f9c53fb58f5668174d0985a75197e8ca74de1b (patch) | |
tree | f8f860d023d4d8b962dbaa37249440c12f83b35b /src/mot-encoder.cpp | |
parent | c49760a51049f754fac2e5fc9a6b6fc3036b9f62 (diff) | |
download | ODR-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.cpp | 2 |
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--; } |