diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:48:01 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:48:01 +0100 |
commit | 6e538b4020be19a4381830b5d5d3d06bc4d7e841 (patch) | |
tree | 8db96ead3a0b551792520856bf7000024b71bc5a /vncviewer | |
parent | 4c33d0bd98e6f3ddfb368917952b9a8d85594229 (diff) | |
download | tigervnc-6e538b4020be19a4381830b5d5d3d06bc4d7e841.tar.gz tigervnc-6e538b4020be19a4381830b5d5d3d06bc4d7e841.zip |
Fix bad initialiser lists
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/parameters.cxx | 4 |
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) { |