Blame SOURCES/search-engine-tracker-Expand-macro-as-string.patch

586b48
From 33fafad8430ac32a750fd3315d507482c8028c15 Mon Sep 17 00:00:00 2001
586b48
From: =?UTF-8?q?Ant=C3=B3nio=20Fernandes?= <antoniof@gnome.org>
586b48
Date: Fri, 29 May 2020 13:16:11 +0100
586b48
Subject: [PATCH] search-engine-tracker: Expand macro as string
586b48
586b48
We have changed the FILENAME_RANK constant from being used as a format
586b48
string argument to be concatenated as a string during compilation, as
586b48
detailed in 7f00ede9b410e88106cef34c634cb46e46015e37
586b48
586b48
However, I have forgotten to quote the constant, which otherwise cannot
586b48
be treated as a string to concatenate.
586b48
586b48
Fix that now.
586b48
---
586b48
 src/nautilus-search-engine-tracker.c | 2 +-
586b48
 1 file changed, 1 insertion(+), 1 deletion(-)
586b48
586b48
diff --git a/src/nautilus-search-engine-tracker.c b/src/nautilus-search-engine-tracker.c
586b48
index 571467a25..13470a62e 100644
586b48
--- a/src/nautilus-search-engine-tracker.c
586b48
+++ b/src/nautilus-search-engine-tracker.c
586b48
@@ -290,7 +290,7 @@ search_finished_idle (gpointer user_data)
586b48
  * not used). The value was determined experimentally. I am convinced that
586b48
  * fts:rank is currently always set to 5.0 in case of filename match.
586b48
  */
586b48
-#define FILENAME_RANK 5.0
586b48
+#define FILENAME_RANK "5.0"
586b48
 
586b48
 static void
586b48
 nautilus_search_engine_tracker_start (NautilusSearchProvider *provider)
586b48
-- 
586b48
2.26.2
586b48