Speed up the loop by moving ListView_GetItemCount() outside the loop.
Authored by: tortoisesvn 2008-03-09
Parent: [r256]
Child: [r258]