aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib/tbi/win.c
diff options
context:
space:
mode:
Diffstat (limited to 'Library/UefiShellUfmCommandLib/tbi/win.c')
-rw-r--r--Library/UefiShellUfmCommandLib/tbi/win.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/UefiShellUfmCommandLib/tbi/win.c b/Library/UefiShellUfmCommandLib/tbi/win.c
index 74d7ebe..48fadbc 100644
--- a/Library/UefiShellUfmCommandLib/tbi/win.c
+++ b/Library/UefiShellUfmCommandLib/tbi/win.c
@@ -291,8 +291,7 @@ UINTN EFIAPI wvprintf(struct window *w, CONST CHAR16 *fmt, VA_LIST args)
if(!fmt_walker)
return 0;
- UnicodeVSPrint(fmt_walker, walker_size, fmt, args);
- length = StrLen(fmt_walker);
+ length = UnicodeVSPrint(fmt_walker, walker_size, fmt, args);
max_length = w->width - x;
if(length >= max_length) {
length = max_length;