mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
d6843fd87e
is a reimplementation in C of the well-known python program 'cplay'. Supported players currently include: - mpg123 - ogg123 - sox WWW: http://www.yahuxo.de/mcplay/ PR: ports/144879 Submitted by: Charlie Kester <corky1951 at comcast.net>
18 lines
444 B
C
18 lines
444 B
C
--- screen.c.orig 2010-03-18 19:50:01.000000000 -0700
|
|
+++ screen.c 2010-03-18 19:54:07.000000000 -0700
|
|
@@ -275,9 +275,13 @@
|
|
gchar *tmp, *str;
|
|
|
|
va_start(az, fmt);
|
|
- str = g_strdup_vprintf(fmt, az);
|
|
+ if ( fmt != NULL )
|
|
+ str = g_strdup_vprintf(fmt, az);
|
|
va_end(az);
|
|
|
|
+ if ( fmt == NULL )
|
|
+ return;
|
|
+
|
|
if( data->nmsg >= 0 )
|
|
{
|
|
tmp = g_strdup_printf("%*.*s", -1*(data->cols-7), data->cols-7, str);
|