summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-28 14:24:39 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-28 14:24:39 +0300
commit4f77a00aec3737965aa2d2d10fd51842a45fc45d (patch)
tree645dac0a6bcd19fe0a80cc2b3e253cb2a9949263 /src/ui
parentd041de5603b858f7c68b3d7b72c4071245567b02 (diff)
Text: Added a note
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index b4401abb..244934b4 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -940,6 +940,7 @@ static iRect run_Font_(iFont *d, const iRunArgs *args) {
940 } 940 }
941 } 941 }
942 } 942 }
943 /* TODO: Check out if `uc_wordbreak_property()` from libunistring can be used here. */
943 if (ch == '\n') { 944 if (ch == '\n') {
944 xpos = xposExtend = orig.x; 945 xpos = xposExtend = orig.x;
945 ypos += d->height; 946 ypos += d->height;