Commit 5e13ec71 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

Added files I forgot to add to the 11-22-2011 patch

parent 911d64ea
......@@ -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;
......
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment