From: Samuel Mendoza-Jonas Date: Fri, 10 Jul 2015 05:57:48 +0000 (+1000) Subject: ui/ncurses: Fix positioning of i18n strings in button labels X-Git-Tag: v1.0.0~58 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;ds=inline;h=74ca9eaf3d0dd64560c3eaa132df2e854b51bcdd;hp=74ca9eaf3d0dd64560c3eaa132df2e854b51bcdd;p=petitboot ui/ncurses: Fix positioning of i18n strings in button labels Since the visual length of localised strings is not necessarily equal to the number of chars in the array, button labels could 'finish' early. For example: '[確定] ' and '[ 說明 ] ' vs the correct '[ 確定 ]' and '[ 說明 ]' Signed-off-by: Samuel Mendoza-Jonas ---