diff --git a/QnetRemote.cpp b/QnetRemote.cpp index 67f243c..1e310eb 100644 --- a/QnetRemote.cpp +++ b/QnetRemote.cpp @@ -1,6 +1,6 @@ /* * Copyright (C) 2010 by Scott Lawson KI4LKF - * Copyright (C) 2018-2019 by Thomas A. Early N7TAE + * Copyright (C) 2018-2020 by Thomas A. Early N7TAE * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,7 +39,11 @@ #include "QnetConfigure.h" #include "UnixDgramSocket.h" -#define VERSION "v2.2" +#define VERSION "v2.3" + +#ifndef CFG_DIR +#define CFG_DIR "/usr/local/etc" +#endif int module; time_t tNow = 0; @@ -185,6 +189,12 @@ int main(int argc, char *argv[]) } std::string yourcall(argv[3]); ToUpper(yourcall); + // replace underscores with spaces + auto pos = yourcall.find_first_of('_'); + while (yourcall.npos != pos) { + yourcall[pos] = ' '; + pos = yourcall.find_first_of('_'); + } unsigned long int delay = PLAY_DELAY * 1000; sleep(PLAY_WAIT); diff --git a/example.php b/example.php index d3ac223..5dca787 100644 --- a/example.php +++ b/example.php @@ -221,6 +221,6 @@ if ('true' == GetCFGValue('dash_show_ur')) { } ?>
-

QnetGateway Dashboard Version 2.0 Copyright (©) by Thomas A. Early, N7TAE.

+

QnetGateway Dashboard Version 2.0 Copyright © by Thomas A. Early, N7TAE.