From 6a17fee980a8e3c5e8792b74ebcc82e7b1e96260 Mon Sep 17 00:00:00 2001 From: Tony Corbett G0WFV Date: Fri, 17 Jun 2016 23:04:10 +0100 Subject: [PATCH] Fix compile error (could have sworn I already did this!) --- HD44780.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HD44780.cpp b/HD44780.cpp index 17915e5..3fe9436 100644 --- a/HD44780.cpp +++ b/HD44780.cpp @@ -434,8 +434,8 @@ void CHD44780::writeDStarInt(const char* my1, const char* my2, const char* your, char *p = m_buffer1; for (; *p; ++p) { - if (*p == " ") - *p = "_"; + if (*p == ' ') + *p = '_'; } if (strcmp(reflector, " ") != 0) {