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:
parent
db92d58b02
commit
8418a2c94a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue