diff options
Diffstat (limited to 'cqrlogo.c')
-rw-r--r-- | cqrlogo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ struct bitmap_t * encode_qrcode (char *text, unsigned int scale, unsigned int bo int i, j, k, l; unsigned char *data; - qrcode = QRcode_encodeData(strlen(text), (unsigned char *)text, 0, level); + qrcode = QRcode_encodeString8bit(text, 0, level); if (qrcode == NULL) return NULL; |