Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wynn
purr-data
Commits
5e13ec71
Commit
5e13ec71
authored
Nov 29, 2011
by
Ivica Bukvic
Browse files
Added files I forgot to add to the 11-22-2011 patch
parent
911d64ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/g_text.c
View file @
5e13ec71
...
...
@@ -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
;
...
...
src/m_pd.h
View file @
5e13ec71
...
...
@@ -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-20111
025
"
#define PD_TEST_VERSION "extended-l2ork-20111
122
"
/* 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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment