Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 864cc900ab047976becdc794174ec8c8096af8ad
      
https://github.com/tianocore/edk2/commit/864cc900ab047976becdc794174ec8c8096af8ad
  Author: Gao Qihang <gaoqih...@loongson.cn>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c

  Log Message:
  -----------
  DisplayEngineDxe: Fix length when displaying menu string

Function `PrintStringAt` returns the count of Unicode character, which
is not correct for computing column offset when display empty string if
wide character is introduced. `GetStringWidth (String) / 2 - 1` is
suitable option which is compatible with wide and narrow characters.

Cc: Lichao <lic...@loongson.cn>
Cc: Qian Dongyan <qiandong...@loongson.cn>
Signed-off-by: Gao Qihang <gaoqih...@loongson.cn>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to