File filelist-debug.diff of Package dng4ps2

Index: dng4ps2-r62/src/FileList.cpp
===================================================================
--- dng4ps2-r62.orig/src/FileList.cpp
+++ dng4ps2-r62/src/FileList.cpp
@@ -46,8 +46,9 @@ void FileList::scan(const wxString & dir
 
 	wxDir::GetAllFiles(dir, &list, wxEmptyString, recursive ? wxDIR_DIRS|wxDIR_FILES : wxDIR_FILES);
 
 	int count = list.Count();
+	std::cout << "Directory " << dir.GetData() << ": " << count << "entries -> ";
 	for (int i = 0; i < count; i++)
 	{
 		wxString file_name = list[i];
 		wxFileName name(file_name);
@@ -80,8 +81,9 @@ void FileList::scan(const wxString & dir
 		item.jpeg_file_name = item.have_jpeg ? jpeg_name.GetFullPath() : wxString();
 
 		items.push_back(item);
 	}
+	std::cout << items.size() << std::endl;
 }
 
 // FileList::size
 size_t FileList::size() const