splitedit: fix snprintf() argument (size of wrong buffer)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27925 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-08-28 21:46:36 +00:00
parent db92d58b02
commit 8418a2c94a

View file

@ -214,7 +214,7 @@ static void update_data(void)
int w, h; int w, h;
/* split point */ /* 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->snprintf(buf, sizeof buf, "Split at: %s", timebuf);
rb->lcd_getstringsize(buf, &w, &h); rb->lcd_getstringsize(buf, &w, &h);