diff src/view_file_icon.c @ 562:544958ddd70e

Rename thumbs_fd to thumbs_filedata in ViewFileIcon struct to match the name used in ViewFileList.
author zas_
date Sat, 03 May 2008 15:13:15 +0000
parents 977b9bbd0e9b
children 2996f1bbc305
line wrap: on
line diff
--- a/src/view_file_icon.c	Sat May 03 15:09:21 2008 +0000
+++ b/src/view_file_icon.c	Sat May 03 15:13:15 2008 +0000
@@ -1891,7 +1891,7 @@
 	thumb_loader_free(vfi->thumbs_loader);
 	vfi->thumbs_loader = NULL;
 
-	vfi->thumbs_fd = NULL;
+	vfi->thumbs_filedata = NULL;
 }
 
 static void vficon_thumb_stop(ViewFileIcon *vfi)
@@ -1916,9 +1916,9 @@
 {
 	ViewFileIcon *vfi = data;
 
-	if (vfi->thumbs_fd && vfi->thumbs_loader == tl)
+	if (vfi->thumbs_filedata && vfi->thumbs_loader == tl)
 		{
-		vficon_thumb_do(vfi, tl, vfi->thumbs_fd);
+		vficon_thumb_do(vfi, tl, vfi->thumbs_filedata);
 		}
 
 	while (vficon_thumb_next(vfi));
@@ -1928,9 +1928,9 @@
 {
 	ViewFileIcon *vfi = data;
 
-	if (vfi->thumbs_fd && vfi->thumbs_loader == tl)
+	if (vfi->thumbs_filedata && vfi->thumbs_loader == tl)
 		{
-		vficon_thumb_do(vfi, tl, vfi->thumbs_fd);
+		vficon_thumb_do(vfi, tl, vfi->thumbs_filedata);
 		}
 
 	while (vficon_thumb_next(vfi));
@@ -1998,7 +1998,7 @@
 
 	vfi->thumbs_count++;
 
-	vfi->thumbs_fd = fd;
+	vfi->thumbs_filedata = fd;
 
 	thumb_loader_free(vfi->thumbs_loader);
 
@@ -2697,7 +2697,7 @@
 		}
 
 	/* Thumb loader check */
-	if (fd == vfi->thumbs_fd) vfi->thumbs_fd = NULL;
+	if (fd == vfi->thumbs_filedata) vfi->thumbs_filedata = NULL;
 	if (vfi->thumbs_count > 0) vfi->thumbs_count--;
 
 	if (vfi->prev_selection == id) vfi->prev_selection = NULL;