summaryrefslogtreecommitdiffstats
path: root/src/db-artwork-parser.c
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-02-03 18:53:28 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-02-03 18:53:28 +0000
commit89d7f3aacc48509db4dbbafe6232615b1bfb8d28 (patch)
tree527c22eac1060b47e5435ad3e803133912932485 /src/db-artwork-parser.c
parenta65515acf6ee811a1bfd33cf31bfec6dab420e94 (diff)
downloadlibgpod-89d7f3aacc48509db4dbbafe6232615b1bfb8d28.tar.gz
libgpod-89d7f3aacc48509db4dbbafe6232615b1bfb8d28.tar.xz
libgpod-89d7f3aacc48509db4dbbafe6232615b1bfb8d28.zip
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);