Fixing an Imgtool build issue with LLVM on MSVC

This commit is contained in:
npwoods 2020-09-07 10:59:37 -04:00 committed by Vas Crabb
parent 14afb55790
commit 71d65c671d

View File

@ -266,10 +266,10 @@ static int cmd_dir(const struct command *c, int argc, char *argv[])
columnwidth_attributes, wstring_from_utf8(ent.attr),
columnwidth_lastmodified, wstring_from_utf8(last_modified));
if (ent.softlink && ent.softlink[0] != '\0')
if (ent.softlink[0] != '\0')
util::stream_format(std::wcout, L"-> %s\n", wstring_from_utf8(ent.softlink));
if (ent.comment && ent.comment[0] != '\0')
if (ent.comment[0] != '\0')
util::stream_format(std::wcout, L": %s\n", wstring_from_utf8(ent.comment));
total_count++;