Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sanket Bhukan
purr-data
Commits
c7e380ab
Commit
c7e380ab
authored
8 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Patches
Plain Diff
manual merge of aggraef: Reduce console clutter
parent
94761c76
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pd/src/s_inter.c
+15
-4
15 additions, 4 deletions
pd/src/s_inter.c
with
15 additions
and
4 deletions
pd/src/s_inter.c
+
15
−
4
View file @
c7e380ab
...
@@ -933,15 +933,26 @@ void gui_end_array(void)
...
@@ -933,15 +933,26 @@ void gui_end_array(void)
}
}
/* Old GUI command interface... */
/* Old GUI command interface... */
void
sys_vguid
(
const
char
*
file
,
int
line
,
const
char
*
fmt
,
...)
{
void
sys_vguid
(
const
char
*
file
,
int
line
,
const
char
*
fmt
,
...)
{
va_list
ap
;
va_list
ap
;
char
buf
[
MAXPDSTRING
];
char
buf
[
MAXPDSTRING
]
,
*
bufp
,
*
endp
;
va_start
(
ap
,
fmt
);
va_start
(
ap
,
fmt
);
vsnprintf
(
buf
,
MAXPDSTRING
-
1
,
fmt
,
ap
);
vsnprintf
(
buf
,
MAXPDSTRING
-
1
,
fmt
,
ap
);
va_end
(
ap
);
va_end
(
ap
);
/* For old commands, we're just posting them to the pd console */
/* Just display the first non-empty line, to remove console clutter. -ag */
for
(
bufp
=
buf
;
*
bufp
&&
isspace
(
*
bufp
);
bufp
++
)
;
if
((
endp
=
strchr
(
bufp
,
'\n'
)))
{
*
endp
=
0
;
if
(
endp
[
1
])
{
/* Indicate that more stuff follows with an ellipsis. */
strncat
(
bufp
,
"..."
,
MAXPDSTRING
);
}
}
gui_vmess
(
"gui_legacy_tcl_command"
,
"sis"
,
gui_vmess
(
"gui_legacy_tcl_command"
,
"sis"
,
file
,
line
,
buf
);
file
,
line
,
buf
p
);
//sys_vvguid(file,line,fmt,ap);
//sys_vvguid(file,line,fmt,ap);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment