[gthumb] Ignore properties with a 0x in the name, they are just junk anyway.



commit 0b51890aafe0d7087e74b1fa79ba910e946012b0
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Jun 1 09:38:18 2010 +0200

    Ignore properties with a 0x in the name, they are just junk anyway.

 gthumb/gth-file-properties.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-file-properties.c b/gthumb/gth-file-properties.c
index 250a083..32cc021 100644
--- a/gthumb/gth-file-properties.c
+++ b/gthumb/gth-file-properties.c
@@ -119,7 +119,7 @@ gth_file_properties_real_set_file (GthPropertyView *base,
 		if ((info->flags & GTH_METADATA_ALLOW_IN_PROPERTIES_VIEW) != GTH_METADATA_ALLOW_IN_PROPERTIES_VIEW)
 			continue;
 
-		if ((info->display_name == NULL) || (strncmp (info->display_name, "0x", 2) == 0))
+		if ((info->display_name == NULL) || (strstr (info->display_name, "0x") != NULL))
 			continue;
 
 		value = gth_file_data_get_attribute_as_string (file_data, info->id);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]