]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c
MdeModulePkg/BootManagerMenuApp: Limit string drawing within one line
authorZhichao Gao <zhichao.gao@intel.com>
Thu, 9 Sep 2021 06:17:04 +0000 (14:17 +0800)
committerLiming Gao <gaoliming@byosoft.com.cn>
Wed, 29 Sep 2021 01:38:58 +0000 (09:38 +0800)
commitf57040b038ccf9ea2a79e3ce58b14e7634666d19
tree11644d88afa87a0b62612ed02eb0d620379eb9b9
parent46b4606ba23498d3d0e66b53e498eb3d5d592586
MdeModulePkg/BootManagerMenuApp: Limit string drawing within one line

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3590

Limit the draw box always within the screen's column and row.
Limit the string drawing within one line.
For the incompleted string the last 3 characters in one line would
be replaced with "...".

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c