summaryrefslogtreecommitdiffstats
path: root/src/db-artwork-parser.c
diff options
context:
space:
mode:
authorteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-02-03 18:53:28 +0000
committerteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-02-03 18:53:28 +0000
commit1ac42a5cd781a2e281b60408d8b7ca5c285c0abe (patch)
tree527c22eac1060b47e5435ad3e803133912932485 /src/db-artwork-parser.c
parent1cb24d2920330218609c86332fa96bc66b726879 (diff)
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
Diffstat (limited to 'src/db-artwork-parser.c')
-rw-r--r--src/db-artwork-parser.c2
1 files changed, 1 insertions, 1 deletions
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);