[maemo-commits] [maemo-commits] r16306 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Oct 1 11:56:06 EEST 2008
- Previous message: [maemo-commits] r16305 - in projects/haf/branches/hildon-thumbnail/daemonize: albumart-providers/googleimages daemon
- Next message: [maemo-commits] r16307 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-10-01 11:56:04 +0300 (Wed, 01 Oct 2008) New Revision: 16306 Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/albumart.c Log: Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/albumart.c =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/albumart.c 2008-10-01 08:51:20 UTC (rev 16305) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/albumart.c 2008-10-01 08:56:04 UTC (rev 16306) @@ -187,9 +187,10 @@ gsize s = (gsize) strlen (filename); while (item = g_dir_read_name (dir)) { - if ((s == 0 || g_ascii_strncasecmp (item, filename, s) == 0) && - (strcasestr ((char *) item, (char *) ".jpeg") || - strcasestr ((char *) item, (char *) ".jpg") )) + if ((strcasestr ((char *) item, (char *) ".jpeg") || + strcasestr ((char *) item, (char *) ".jpg") ) && + (s == 0 || g_ascii_strncasecmp (item, filename, s) == 0) + ) { retval = g_strdup (item); break;
- Previous message: [maemo-commits] r16305 - in projects/haf/branches/hildon-thumbnail/daemonize: albumart-providers/googleimages daemon
- Next message: [maemo-commits] r16307 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]