From d47427a2d51fcc7f8e1f8926a706e04ff01603ed Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 20 Aug 2016 08:31:29 +0200 Subject: Present torrent files as a tree A torrent info dictionary has two modes: single and multi files. When in multi-mode, the name-entry is the directory containing the files. Represent it as a tree. During testing I discovered a fatal bug in the torrent parser: If we encounter an invalid string, we have to move mPos forward, else we will loop indefinitely until we're OOM. I also added some icons for folders, files and trackers. --- diaper.png | Bin 0 -> 1022 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 diaper.png (limited to 'diaper.png') diff --git a/diaper.png b/diaper.png new file mode 100644 index 0000000..ecddcd6 Binary files /dev/null and b/diaper.png differ -- cgit v1.2.3-70-g09d2