From 8418a2c94a97da1d6f42f21dc348aadd1e177d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sat, 28 Aug 2010 21:46:36 +0000 Subject: [PATCH] splitedit: fix snprintf() argument (size of wrong buffer) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27925 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/splitedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c index c19d4b5e06..c3562f0953 100644 --- a/apps/plugins/splitedit.c +++ b/apps/plugins/splitedit.c @@ -214,7 +214,7 @@ static void update_data(void) int w, h; /* split point */ - format_time_ms(timebuf, sizeof buf, xpos_to_time(split_x)); + format_time_ms(timebuf, sizeof timebuf, xpos_to_time(split_x)); rb->snprintf(buf, sizeof buf, "Split at: %s", timebuf); rb->lcd_getstringsize(buf, &w, &h);