]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Application/Shell/ConsoleLogger.c
ShellPkg/ConsoleLogger: Fix a typo in UpdateDisplayFromHistory()
authorHao Wu <hao.a.wu@intel.com>
Sat, 3 Mar 2018 02:59:05 +0000 (10:59 +0800)
committerHao Wu <hao.a.wu@intel.com>
Sun, 4 Mar 2018 04:06:16 +0000 (12:06 +0800)
commit10dfa028f0a1c00dc1e61143ada9bfc88df0ca3f
treedeb6c82186c17f8685d951a2cf49456771c8a055
parent06e24096670ba13eaff39496498a5d9e41a37034
ShellPkg/ConsoleLogger: Fix a typo in UpdateDisplayFromHistory()

Within function UpdateDisplayFromHistory():

When getting a character with different attribute with the current one,
the statement to compare the character with a 'NULL' char should be:

*StringSegmentEnd != CHAR_NULL

rather than:

StringSegmentEnd != CHAR_NULL

This commit resolves this typo.

Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
ShellPkg/Application/Shell/ConsoleLogger.c