diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-24 22:53:19 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-24 22:53:19 +0200 |
commit | e6aaffddd41b4bd2920667ce4ae7cc368df65ca6 (patch) | |
tree | 86fc7c11da0bed0c6b9c8717c7ca99f4224b69d8 /src/ui/text.c | |
parent | 586a81c7d6e02ceb5cab10e5356a8a1ff3253eda (diff) |
Fixed: InputWidget cursor positioning
Diffstat (limited to 'src/ui/text.c')
-rw-r--r-- | src/ui/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/text.c b/src/ui/text.c index 0f511adb..2ab40387 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -859,7 +859,7 @@ static iRect run_Font_(iFont *d, const iRunArgs *args) { | |||
859 | } | 859 | } |
860 | #endif | 860 | #endif |
861 | prevCh = ch; | 861 | prevCh = ch; |
862 | if (maxLen == 0) { | 862 | if (--maxLen == 0) { |
863 | break; | 863 | break; |
864 | } | 864 | } |
865 | } | 865 | } |