aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/parameters.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/parameters.cxx')
-rw-r--r--vncviewer/parameters.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx
index 713ac070..712a257a 100644
--- a/vncviewer/parameters.cxx
+++ b/vncviewer/parameters.cxx
@@ -182,8 +182,8 @@ static VoidParameter* parameterArray[] = {
static struct {
const char first;
const char second;
-} replaceMap[] = {'\n', 'n',
- '\r', 'r'};
+} replaceMap[] = { { '\n', 'n' },
+ { '\r', 'r' } };
static bool encodeValue(const char* val, char* dest, size_t destSize) {