diff src/main.c @ 781:2d2cca2bceb0

Replace hardcoded collection filename extension by a macro (GQ_COLLECTION_EXT).
author zas_
date Tue, 03 Jun 2008 13:54:22 +0000
parents 44128da39e13
children 3f7a0420c293
line wrap: on
line diff
--- a/src/main.c	Tue Jun 03 11:24:16 2008 +0000
+++ b/src/main.c	Tue Jun 03 13:54:22 2008 +0000
@@ -180,7 +180,7 @@
 	path_parsed = g_strdup(file_path);
 	parse_out_relatives(path_parsed);
 
-	if (file_extension_match(path_parsed, ".gqv"))
+	if (file_extension_match(path_parsed, GQ_COLLECTION_EXT))
 		{
 		*collection_list = g_list_append(*collection_list, path_parsed);
 		}