diff --git a/src/g_text.c b/src/g_text.c index 104fa3d1cc25598151d0fb3dbb3e5dea4a669415..eb3eb2c5eb5131b5371033cf02a8cec9025d5867 100644 --- a/src/g_text.c +++ b/src/g_text.c @@ -1089,11 +1089,14 @@ static void text_getrect(t_gobj *z, t_glist *glist, int ni = obj_ninlets(ob); int m = ( ni > no ? ni : no); - if ( width < (IOWIDTH * m) * 2 - IOWIDTH) { - /* we have to resize the object */ - width = (IOWIDTH * m) * 2 - IOWIDTH; + //let's see if the object has more nlets than its text width and resize them accordingly + //UNLESS we are gop in which case it is user's choice how big/small they want the object + if (!((t_glist *)z)->gl_isgraph) { + if (width < (IOWIDTH * m) * 2 - IOWIDTH) { + //we have to resize the object + width = (IOWIDTH * m) * 2 - IOWIDTH; + } } - //} height = rtext_height(y) - (iscomment << 1); } else width = height = 10; diff --git a/src/m_pd.h b/src/m_pd.h index 8fc774716c759dfbf9fcc86da68e726b9530dbed..9a7fcd8433f03b81be387151628f16fedcef5296 100644 --- a/src/m_pd.h +++ b/src/m_pd.h @@ -11,7 +11,7 @@ extern "C" { #define PD_MAJOR_VERSION 0 #define PD_MINOR_VERSION 42 #define PD_BUGFIX_VERSION 5 -#define PD_TEST_VERSION "extended-l2ork-20111025" +#define PD_TEST_VERSION "extended-l2ork-20111122" /* old name for "MSW" flag -- we have to take it for the sake of many old "nmakefiles" for externs, which will define NT and not MSW */