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
Flachy Joe
purr-data
Commits
bcf883d2
Commit
bcf883d2
authored
Jun 15, 2020
by
Jonathan Wilkes
Browse files
Merge branch 'increase-atombufsize'
parents
aceceeb4
5a6c418f
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_text.c
View file @
bcf883d2
...
...
@@ -855,7 +855,7 @@ void canvas_msg(t_glist *gl, t_symbol *s, int argc, t_atom *argv)
/* ---------------------- the "atom" text item ------------------------ */
#define ATOMBUFSIZE
4
0
#define ATOMBUFSIZE
16
0
#define ATOM_LABELLEFT 0
#define ATOM_LABELRIGHT 1
#define ATOM_LABELUP 2
...
...
@@ -1190,8 +1190,8 @@ static void gatom_param(t_gatom *x, t_symbol *sel, int argc, t_atom *argv)
x
->
a_draghi
=
draghi
;
if
(
width
<
0
)
width
=
4
;
else
if
(
width
>
80
)
width
=
80
;
else
if
(
width
>
ATOMBUFSIZE
)
width
=
ATOMBUFSIZE
;
x
->
a_text
.
te_width
=
width
;
x
->
a_wherelabel
=
((
int
)
wherelabel
&
3
);
x
->
a_label
=
label
;
...
...
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