From e812e079ecdb79eddd01220599c2b7ef07c69b17 Mon Sep 17 00:00:00 2001 From: spx Date: Tue, 21 Sep 2010 09:18:19 +0000 Subject: [PATCH] [AboutDialog] Fixed a issue that Value column isn't updated if value is empty string. --- Library/AboutDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/AboutDialog.cpp b/Library/AboutDialog.cpp index e8436838..c7a25332 100644 --- a/Library/AboutDialog.cpp +++ b/Library/AboutDialog.cpp @@ -230,7 +230,7 @@ void UpdateAboutStatistics(LPCTSTR entryName) ListView_InsertItem(widget, &vitem); } - if (val && wcslen(val) > 0) + if (val) { ListView_SetItemText(widget, index, 1, (WCHAR*)val); }