summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2022-01-25 11:23:40 +0100
committerDave Davenport <qball@blame.services>2022-01-25 11:23:40 +0100
commitbdea8b97878caceca149e589cd7e8adcbe4f9d5a (patch)
tree0e81c1a9cd9cef9d5d0d7ca4025856bea3bdd1cc
parent85c6545a43dd8f03697f9537c4b2fe03b409fcd0 (diff)
Mark -combi-hide-mode-prefix as deprecated.
-rw-r--r--configure.ac1
-rw-r--r--source/xrmoptions.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6220d4a6..4a2afb7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,6 +124,7 @@ AC_CHECK_FUNC([readdir],, AC_MSG_ERROR("Could not find readdir in c library"))
AC_CHECK_HEADER([math.h],, AC_MSG_ERROR("Could not find math.h header file"))
AC_SEARCH_LIBS([floor],[m],, AC_MSG_ERROR("Could not find floor in math library"))
AC_SEARCH_LIBS([ceil], [m],, AC_MSG_ERROR("Could not find ceil in math library"))
+AC_SEARCH_LIBS([round], [m],, AC_MSG_ERROR("Could not find round in math library"))
AC_CHECK_HEADER([sysexits.h],, AC_MSG_ERROR("Could not find the sysexists.h header file"))
AC_CHECK_HEADER([setjmp.h],, AC_MSG_ERROR("Could not find the setjmp.h header file"))
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index c702b398..80924135 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -354,7 +354,8 @@ static XrmOption xrmOptions[] = {
"combi-hide-mode-prefix",
{.snum = &config.combi_hide_mode_prefix},
NULL,
- "Hide the prefix mode prefix on the combi view.",
+ "Hide the prefix mode prefix on the combi view.**deprecated** use "
+ "combi-display-format",
CONFIG_DEFAULT},
{xrm_String,
"combi-display-format",