summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mot-encoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp
index e53001b..cf2133e 100644
--- a/src/mot-encoder.cpp
+++ b/src/mot-encoder.cpp
@@ -968,7 +968,7 @@ size_t dls_get(const char* text, const uint8_t charset, const unsigned int seg_i
#if DEBUG
fprintf(stderr, "DL segment:");
for (int i = 0; i < seg_len; i++)
- fprintf(stderr, " %02x", dls_seg[i]);
+ fprintf(stderr, " %02x", seg_data[i]);
fprintf(stderr, "\n");
#endif
return seg_len;
@@ -1025,7 +1025,7 @@ void create_dls_pads(const char* text, const int padlen, const uint8_t charset)
#if DEBUG
fprintf(stderr, "DLS data group:");
for (int i = 0; i < padlen; i++)
- fprintf(stderr, " %02x", dg[i]);
+ fprintf(stderr, " %02x", pad[i]);
fprintf(stderr, "\n");
#endif
seg_off += dg_used;