commit 9843d7fbb8f192d0730aec9c03ae5a26ba750ae8 Author: Christophe Fergeau <cferg...@mandriva.com> Date: Sun Feb 28 00:32:06 2010 +0100
trivial cleanups Split 2 concatenated lines and display smart playlist action in hexa instead of decimal when outputting a warning src/itdb_itunesdb.c | 3 ++- src/itdb_playlist.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) --- diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c index d375a41..cec83c2 100644 --- a/src/itdb_itunesdb.c +++ b/src/itdb_itunesdb.c @@ -2039,7 +2039,8 @@ static glong get_playlist (FImport *fimp, guint mhsd_type, glong mhyp_seek) check_seek (cts, mhyp_seek, header_len); CHECK_ERROR (fimp, -1); - nextseek = mhyp_seek + get32lint (cts, mhyp_seek+8);/* possible begin of next PL */ mhod_num = get32lint (cts, mhyp_seek+12); /* number of MHODs we expect */ + nextseek = mhyp_seek + get32lint (cts, mhyp_seek+8);/* possible begin of next PL */ + mhod_num = get32lint (cts, mhyp_seek+12); /* number of MHODs we expect */ mhipnum = get32lint (cts, mhyp_seek+16); /* number of tracks (mhips) in playlist */ diff --git a/src/itdb_playlist.c b/src/itdb_playlist.c index 7a115b9..5e28265 100644 --- a/src/itdb_playlist.c +++ b/src/itdb_playlist.c @@ -75,7 +75,7 @@ gboolean itdb_spl_action_known (ItdbSPLAction action) } if (result == FALSE) { /* New action! */ - g_warning (_("Unknown action (%d) in smart playlist will be ignored.\n"), action); + g_warning (_("Unknown action (0x%x) in smart playlist will be ignored.\n"), action); } return result; } ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2