Skip to content
Snippets Groups Projects
Commit a1a14ca4 authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Use sprintf %H

parent e49f0f29
Branches
Tags
No related merge requests found
...@@ -48,7 +48,7 @@ class Service { ...@@ -48,7 +48,7 @@ class Service {
txt_flat = ""; txt_flat = "";
foreach(txt, string entry) { foreach(txt, string entry) {
entry = clip_utf8_str(entry, 255); entry = clip_utf8_str(entry, 255);
txt_flat += sprintf("%c%s", (int) strlen(entry), entry); txt_flat += sprintf("%1H", entry);
} }
} }
return txt_flat; return txt_flat;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment