aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-03-03 16:48:01 +0100
committerPierre Ossman <ossman@cendio.se>2015-03-03 16:48:01 +0100
commit6e538b4020be19a4381830b5d5d3d06bc4d7e841 (patch)
tree8db96ead3a0b551792520856bf7000024b71bc5a /vncviewer
parent4c33d0bd98e6f3ddfb368917952b9a8d85594229 (diff)
downloadtigervnc-6e538b4020be19a4381830b5d5d3d06bc4d7e841.tar.gz
tigervnc-6e538b4020be19a4381830b5d5d3d06bc4d7e841.zip
Fix bad initialiser lists
Diffstat (limited to 'vncviewer')
-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) {