commit 3ba8187f83a0383a189630ce35be547a50205981
parent d9889e2c516ab8fc07294abe8d4eef0b93be773e
Author: glenda <glenda@9front.local>
Date: Tue, 8 Jun 2021 21:03:20 +0000
fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/richterm.c b/richterm.c
@@ -199,9 +199,9 @@ threadmain(int argc, char **argv)
break;
case DEVFSWRITE:
rich.count++;
- obj->id = smprint("%ld", rich.count);
rich.obj = realloc(rich.obj, rich.count * sizeof(Object));
obj = &(rich.obj[rich.count - 1]);
+ obj->id = smprint("%ld", rich.count);
obj->data = ov;
obj->type = "text";
obj->opts = "";