From 1ac42a5cd781a2e281b60408d8b7ca5c285c0abe Mon Sep 17 00:00:00 2001 From: teuf Date: Sun, 3 Feb 2008 18:53:28 +0000 Subject: Add comment about fields that aren't byteswapped, remove hardcoded int git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1946 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- src/db-artwork-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db-artwork-parser.c') diff --git a/src/db-artwork-parser.c b/src/db-artwork-parser.c index 94fc874..cf74777 100644 --- a/src/db-artwork-parser.c +++ b/src/db-artwork-parser.c @@ -375,7 +375,7 @@ parse_mhba (DBParseContext *ctx, GError *error) { /* FIXME: type==1 is album name. type==2 seems to be * the transtition type between photos, * e.g. "Dissolve". Not handled yet. */ - case 1: + case MHOD_ARTWORK_TYPE_ALBUM_NAME: album->name = g_strndup ((gchar *)mhod1->string, get_gint32(mhod1->string_len, ctx->byte_order)); dump_mhod_type_1 (mhod1); -- cgit