Commit fa6937f4 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wordpad: Remove condition that never triggers.

parent fa9950f9
......@@ -187,7 +187,7 @@ static void format_filelist_filename(LPWSTR file, LPWSTR out)
else if(truncpos1 == truncpos2 || !truncpos2)
lstrcatW(out, file);
else
truncate_path(file, out, truncpos1, truncpos2 ? truncpos2 : (pos_basename-1));
truncate_path(file, out, truncpos1, truncpos2);
}
void registry_read_filelist(HWND hMainWnd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment