summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2020-05-29 13:16:11 +0100
committerAntónio Fernandes <antoniof@gnome.org>2020-05-29 13:16:11 +0100
commit889e5a99bf6fbf4b7633a066e4d9bf1ed5ba8a1c (patch)
treeee5a283d2d0b100bd7f84b6e5c1c77b142b8f789
parent0dd9d516208b09da7953e1d4c97b2eb4585a64e1 (diff)
downloadnautilus-889e5a99bf6fbf4b7633a066e4d9bf1ed5ba8a1c.tar.gz
search-engine-tracker: Expand macro as string
We have changed the FILENAME_RANK constant from being used as a format string argument to be concatenated as a string during compilation, as detailed in 7f00ede9b410e88106cef34c634cb46e46015e37 However, I have forgotten to quote the constant, which otherwise cannot be treated as a string to concatenate. Fix that now.
-rw-r--r--src/nautilus-search-engine-tracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-search-engine-tracker.c b/src/nautilus-search-engine-tracker.c
index 6737d175f..82876368a 100644
--- a/src/nautilus-search-engine-tracker.c
+++ b/src/nautilus-search-engine-tracker.c
@@ -290,7 +290,7 @@ search_finished_idle (gpointer user_data)
* not used). The value was determined experimentally. I am convinced that
* fts:rank is currently always set to 5.0 in case of filename match.
*/
-#define FILENAME_RANK 5.0
+#define FILENAME_RANK "5.0"
static void
nautilus_search_engine_tracker_start (NautilusSearchProvider *provider)