[maemo-commits] [maemo-commits] r9355 - projects/haf/branches/hildon-fm/1.x/hildon-fm
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Jan 25 18:58:41 EET 2007
- Previous message: [maemo-commits] r9354 - projects/haf/branches/hildon-fm/1.x
- Next message: [maemo-commits] r9356 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: marivoll Date: 2007-01-25 18:58:40 +0200 (Thu, 25 Jan 2007) New Revision: 9355 Modified: projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-private.c Log: * hildon-fm/hildon-file-system-private.c (_hildon_file_system_create_display_name): Don't pass a NULL mime_type to strcmp (NB50762). Modified: projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-private.c =================================================================== --- projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-private.c 2007-01-25 16:42:11 UTC (rev 9354) +++ projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-private.c 2007-01-25 16:58:40 UTC (rev 9355) @@ -548,7 +548,8 @@ comfortable changing what is displayed and not what the filesystem tells is stored in it. */ - if (!is_folder && strcmp (mime_type, "x-directory/normal") == 0) + if (!is_folder + && mime_type && strcmp (mime_type, "x-directory/normal") == 0) only_known = FALSE; dot = _hildon_file_system_search_extension (str, only_known, is_folder);
- Previous message: [maemo-commits] r9354 - projects/haf/branches/hildon-fm/1.x
- Next message: [maemo-commits] r9356 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]