From 388d2f09891ff5bee37a176c5041bb9a4556cd97 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Fri, 6 Sep 2013 12:35:46 -0400
Subject: [PATCH] expanded t_text to include te_iemgui var that determines
 whether an external has a custom gui

---
 pd/src/m_pd.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pd/src/m_pd.h b/pd/src/m_pd.h
index 0bce5f42f..bb9c61ac7 100644
--- a/pd/src/m_pd.h
+++ b/pd/src/m_pd.h
@@ -203,11 +203,12 @@ typedef struct _text        /* patchable object - graphical, with text */
     short te_ypix;
     short te_width;             /* requested width in chars, 0 if auto */
     unsigned int te_type:2;     /* from defs below */
+	unsigned int te_iemgui:1;	/* if this is an iemgui (for nlets color) */
 } t_text;
 
 #define T_TEXT 0        /* just a textual comment */
 #define T_OBJECT 1      /* a MAX style patchable object */
-#define T_MESSAGE 2     /* a MAX stype message */
+#define T_MESSAGE 2     /* a MAX style message */
 #define T_ATOM 3        /* a cell to display a number or symbol */
 
 #define te_pd te_g.g_pd
-- 
GitLab