From 50966061a61e97ce4618d4d56c6863e7303cc665 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Fri, 24 Jul 2020 15:51:06 -0400
Subject: [PATCH] improve comments

---
 pd/src/g_rtext.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pd/src/g_rtext.c b/pd/src/g_rtext.c
index c4187861b..8fcef1f34 100644
--- a/pd/src/g_rtext.c
+++ b/pd/src/g_rtext.c
@@ -609,7 +609,10 @@ void rtext_activate(t_rtext *x, int state)
     {
         int xmin, xmax, tmp;
         gobj_getrect(&x->x_text->te_g, x->x_glist, &xmin, &tmp, &xmax, &tmp);
-        widthspec = (x->x_text->te_width ? x->x_text->te_width : -(xmax-xmin)); // width if any specified
+            /* width if specified. If not, we send the bounding width as
+               a negative number */
+        widthspec = (x->x_text->te_width ? x->x_text->te_width : -(xmax-xmin));
+            /* signal with negative number that we don't have a heightspec */
         heightspec = -1; // signal that we don't have a heightspec
         isgop = 0;
     }
-- 
GitLab