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 | 8a856aeeb46333864e79e9468586dba7239aed99 (patch) | |
tree | 09982e7f4c554579f6dbf8781dd86168a05c4e06 /src/mot-encoder.cpp | |
parent | 4dae7b38f2476c25d356829fb850af005a1b5f3e (diff) | |
download | ODR-AudioEnc-8a856aeeb46333864e79e9468586dba7239aed99.tar.gz ODR-AudioEnc-8a856aeeb46333864e79e9468586dba7239aed99.tar.bz2 ODR-AudioEnc-8a856aeeb46333864e79e9468586dba7239aed99.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--; } |