From 4b15adb1ed280d4393eab012d48efc658e056031 Mon Sep 17 00:00:00 2001 From: Brian Whitman Date: Mon, 10 Jun 2024 20:41:53 -0400 Subject: [PATCH] fix for #105 --- tulip/shared/editor.c | 54 +++++++++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 22 deletions(-) diff --git a/tulip/shared/editor.c b/tulip/shared/editor.c index 6d93cd5a6..1394465e5 100644 --- a/tulip/shared/editor.c +++ b/tulip/shared/editor.c @@ -147,19 +147,22 @@ void format_at_row(uint8_t format, int16_t len, uint16_t y) { } } void string_at_row(char * s, int16_t len, uint16_t y) { - if(len < 0) len=strlen(s); - if(y