Revision: 1092
http://geeqie.svn.sourceforge.net/geeqie/?rev=1092&view=rev
Author: bruclik
Date: 2008-08-26 13:56:56 +0000 (Tue, 26 Aug 2008)
Log Message:
-----------
Fixed calling "Image search" function in a directory without image.
Modified Paths:
--------------
trunk/src/search.c
Modified: trunk/src/search.c
===================================================================
--- trunk/src/search.c 2008-08-25 22:45:38 UTC (rev 1091)
+++ trunk/src/search.c 2008-08-26 13:56:56 UTC (rev 1092)
@@ -2564,7 +2564,7 @@
sd->match_keywords_enable = FALSE;
sd->search_similarity = 95;
- sd->search_similarity_path = g_strdup(example_file->path);
+ sd->search_similarity_path = example_file ?
g_strdup(example_file->path) : NULL;
sd->search_similarity_cd = NULL;
sd->search_idle_id = -1;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn