Lagrange [work/v1.8]

Fixed: InputWidget cursor positioning

=> e6aaffddd41b4bd2920667ce4ae7cc368df65ca6

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) {
         }
 #endif
         prevCh = ch;
-        if (maxLen == 0) {
+        if (--maxLen == 0) {
             break;
         }
     }
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.8/cdiff/e6aaffddd41b4bd2920667ce4ae7cc368df65ca6
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
56.332679 milliseconds
Gemini-to-HTML Time
0.185861 milliseconds

This content has been proxied by September (ba2dc).