diff options
author | António Fernandes <antoniof@gnome.org> | 2020-05-29 13:16:11 +0100 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2020-05-29 13:20:14 +0100 |
commit | 33fafad8430ac32a750fd3315d507482c8028c15 (patch) | |
tree | e6cfc28cd0c20157de11b5ba4d500ff7e0c9e9f5 | |
parent | 7018cdcaa9954271cd82ba1c2620ecdfea176fae (diff) | |
download | nautilus-33fafad8430ac32a750fd3315d507482c8028c15.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-search-engine-tracker.c b/src/nautilus-search-engine-tracker.c index 571467a25..13470a62e 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) |