Ignore copying text from empty columns
@@ -320,9 +320,13 @@ PPH_STRING PhGetTreeNewText(
PhInitializeEmptyStringRef(&getCellText.Text);
TreeNew_GetCellText(TreeNewHandle, &getCellText);
+ // Ignore empty columns. -dmex
+ if (getCellText.Text.Length != 0)
+ {
PhAppendStringBuilder(&stringBuilder, &getCellText.Text);
PhAppendStringBuilder2(&stringBuilder, L", ");
}
+ }
// Remove the trailing comma and space.
if (stringBuilder.String->Length != 0)
