From 4c15d6dd74856a3e112b73d6d4c325e91378bc51 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Mon, 16 Feb 2026 21:00:23 +0100 Subject: [PATCH] #62 make sure we resize with blanks --- DStarGateway/DStarGatewayThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DStarGateway/DStarGatewayThread.cpp b/DStarGateway/DStarGatewayThread.cpp index d86922d..f6f0509 100644 --- a/DStarGateway/DStarGatewayThread.cpp +++ b/DStarGateway/DStarGatewayThread.cpp @@ -521,7 +521,7 @@ void CDStarGatewayThread::addRepeater(const std::string& callsign, const std::st CRepeaterHandler::add(callsign, band, address, port, hwType, reflector, atStartup, reconnect, dratsEnabled, frequency, offset, range, latitude, longitude, agl, description1, description2, url, handler, band1, band2, band3); std::string repeater = callsign; - repeater.resize(LONG_CALLSIGN_LENGTH - 1U); + repeater.resize(LONG_CALLSIGN_LENGTH - 1U, ' '); repeater += band; // Add a fixed address and protocol for the local repeaters