Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
5f600422
Commit
5f600422
authored
Jul 02, 2016
by
Jonathan Wilkes
Browse files
fix typo that broke message box border redrawing, and add some brackets in a long conditional
parent
482ddd23
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_text.c
View file @
5f600422
...
...
@@ -2242,7 +2242,7 @@ void text_drawborder(t_text *x, t_glist *glist,
gui_vmess
(
"gui_message_redraw_border"
,
"xsii"
,
glist_getcanvas
(
glist
),
tag
,
x2
-
x
2
,
x2
-
x
1
,
y2
-
y1
);
}
}
...
...
@@ -2362,6 +2362,7 @@ void text_drawborder_withtag(t_text *x, t_glist *glist,
msg_draw_const
=
((
y2
-
y1
)
/
4
);
if
(
msg_draw_const
>
10
)
msg_draw_const
=
10
;
/* looks bad if too big */
if
(
firsttime
)
{
/* Doesn't look like this is necessary... */
sys_vgui
(
".x%lx.c create ppolygon "
"%d %d %d %d %d %d %d %d %d %d %d %d %d %d "
...
...
@@ -2372,6 +2373,7 @@ void text_drawborder_withtag(t_text *x, t_glist *glist,
x2
,
y2
-
msg_draw_const
,
x2
+
msg_draw_const
,
y2
,
x1
,
y2
,
x1
,
y1
,
tag
,
tag
);
}
}
else
if
(
x
->
te_type
==
T_ATOM
)
{
...
...
Write
Preview
Supports
Markdown
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