[tracker/media-art-enhancements: 8/16] tracker-extract: Fix whitespace errors
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/media-art-enhancements: 8/16] tracker-extract: Fix whitespace errors
- Date: Mon, 24 Oct 2011 17:57:01 +0000 (UTC)
commit dcf5dc97da6c3c2b5a322dbda8cd4b0b939725a6
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Thu Oct 20 15:40:16 2011 +0100
tracker-extract: Fix whitespace errors
src/tracker-extract/tracker-media-art.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-media-art.c b/src/tracker-extract/tracker-media-art.c
index de3f9ed..0139a04 100644
--- a/src/tracker-extract/tracker-media-art.c
+++ b/src/tracker-extract/tracker-media-art.c
@@ -704,7 +704,7 @@ media_art_set (const unsigned char *buffer,
}
} else {
gchar *sum2 = NULL;
-
+
if (file_get_checksum_if_exists (G_CHECKSUM_MD5, album_path, &sum2, FALSE, NULL)) {
if ( !(g_strcmp0 (mime, "image/jpeg") == 0 || g_strcmp0 (mime, "JPG") == 0) ||
( !(len > 2 && buffer[0] == 0xff && buffer[1] == 0xd8 && buffer[2] == 0xff) )) {
@@ -747,7 +747,7 @@ media_art_set (const unsigned char *buffer,
sum1 = checksum_for_data (G_CHECKSUM_MD5, buffer, len);
/* If album-space-md5.jpg is the same as buffer, make a symlink
- * to album-md5-md5.jpg */
+ * to album-md5-md5.jpg */
if (g_strcmp0 (sum1, sum2) == 0) {
if (symlink (album_path, local_path) != 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]