forked from len0rd/rockbox
Fix wrong formatting in WPS
Fixes FS#13354 and FS#12980 Change-Id: I4ec4cb57cfb64494e633d0bb92e733d92593c075
This commit is contained in:
parent
4b7b7a0a83
commit
202eb8c06a
1 changed files with 3 additions and 3 deletions
|
|
@ -606,9 +606,9 @@ void write_line(struct screen *display, struct align_pos *format_align,
|
|||
char *center = format_align->center ?: "";
|
||||
char *right = format_align->right ?: "";
|
||||
|
||||
display->put_line(0, line, linedes, "$t$*s$t$*s$t", left,
|
||||
center_xpos - left_width, center,
|
||||
right_xpos - (center_xpos + center_width), right);
|
||||
display->put_line(0, line, linedes, "$t$*s$t$*s$t", left_width == 0 ? "" : left ,
|
||||
center_xpos - left_width, center_width == 0 ? "" : center,
|
||||
right_xpos - center_xpos - center_width, right_width == 0 ? "" : right);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue