From 3924ef16d45b0bc88d7ff2ca1cc41e41b617da3f Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Tue, 10 Jul 2018 00:02:52 +1200 Subject: [PATCH] Fix typo in macro name MSG_SETUP_PROJ_SERACH_PATH -> MSG_SETUP_PROJ_SEARCH_PATH, but the typo was consistent so this doesn't change behaviour. --- src/aven.cc | 2 +- src/cavern.c | 2 +- src/message.h | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/aven.cc b/src/aven.cc index 02478f28..2bcfec5b 100644 --- a/src/aven.cc +++ b/src/aven.cc @@ -25,7 +25,7 @@ #include #endif -#define MSG_SETUP_PROJ_SERACH_PATH 1 +#define MSG_SETUP_PROJ_SEARCH_PATH 1 #include "aven.h" #include "log.h" diff --git a/src/cavern.c b/src/cavern.c index eaea029f..87b2c6dd 100644 --- a/src/cavern.c +++ b/src/cavern.c @@ -21,7 +21,7 @@ #include #endif -#define MSG_SETUP_PROJ_SERACH_PATH 1 +#define MSG_SETUP_PROJ_SEARCH_PATH 1 #include #include diff --git a/src/message.h b/src/message.h index 278e72bf..022747d0 100644 --- a/src/message.h +++ b/src/message.h @@ -29,11 +29,11 @@ extern "C" { #include "osdepend.h" #include "osalloc.h" -/* Define MSG_SETUP_PROJ_SERACH_PATH before including this header to enable the +/* Define MSG_SETUP_PROJ__PATH before including this header to enable the * hooks to setup proj4's search path to be relative to the executable if this * is a relocatable install. */ -#ifdef MSG_SETUP_PROJ_SERACH_PATH +#ifdef MSG_SETUP_PROJ_SEARCH_PATH /* We only support relocatable builds on these platforms. */ # if OS_WIN32 || OS_UNIX_MACOSX # include @@ -69,12 +69,12 @@ extern const char *msg_lang; extern const char *msg_lang2; /* Not intended for direct use - use msg_init() instead, optionally defining - * MSG_SETUP_PROJ_SERACH_PATH. + * MSG_SETUP_PROJ_SEARCH_PATH. */ int msg_init_(char *const *argv); /* Not intended for direct use - use msg_init() instead, optionally defining - * MSG_SETUP_PROJ_SERACH_PATH. + * MSG_SETUP_PROJ_SEARCH_PATH. */ const char * msg_proj_finder_(const char * file); -- 2.11.4.GIT