From e35964ec9856210ba5378317e78b2cbcebff75c0 Mon Sep 17 00:00:00 2001 From: Davide Gerhard Date: Sat, 17 Aug 2019 12:36:18 +0200 Subject: [PATCH] add new search location for symbols-new.txt and tocalls.txt seen that we moved data in the data/ directory we need to add the new patch to source code. --- src/decode_aprs.c | 1 + src/symbols.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/decode_aprs.c b/src/decode_aprs.c index 167ad5d..ca50721 100644 --- a/src/decode_aprs.c +++ b/src/decode_aprs.c @@ -3751,6 +3751,7 @@ static int num_tocalls = 0; static const char *search_locations[] = { (const char *) "tocalls.txt", + (const char *) "../data/tocalls.txt", #ifndef __WIN32__ (const char *) "/usr/local/share/direwolf/tocalls.txt", (const char *) "/usr/share/direwolf/tocalls.txt", diff --git a/src/symbols.c b/src/symbols.c index 208c327..3893b17 100644 --- a/src/symbols.c +++ b/src/symbols.c @@ -265,6 +265,7 @@ static const struct { static const char *search_locations[] = { (const char *) "symbols-new.txt", + (const char *) "../data/symbols-new.txt", #ifndef __WIN32__ (const char *) "/usr/local/share/direwolf/symbols-new.txt", (const char *) "/usr/share/direwolf/symbols-new.txt", @@ -1059,4 +1060,4 @@ int main (int argc, char *argv[]) #endif -/* end symbols.c */ \ No newline at end of file +/* end symbols.c */