diff options
author | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2005-12-03 06:08:30 +0000 |
---|---|---|
committer | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2005-12-03 06:08:30 +0000 |
commit | 985da92a9f1ae38743b9c3ed7b255cb243b0f574 (patch) | |
tree | a250bd5eb20d69fae04c94284659cf5cbacb3775 /vncviewer | |
parent | 644e0e6b53838baea7590674b3fc56fa53732882 (diff) | |
download | tigervnc-985da92a9f1ae38743b9c3ed7b255cb243b0f574.tar.gz tigervnc-985da92a9f1ae38743b9c3ed7b255cb243b0f574.zip |
Fixed the bug with saving vnc viewer options parameter "AcceptBell" to the config file.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@430 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/CViewOptions.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vncviewer/CViewOptions.cxx b/vncviewer/CViewOptions.cxx index b3f58103..76a624b2 100644 --- a/vncviewer/CViewOptions.cxx +++ b/vncviewer/CViewOptions.cxx @@ -224,6 +224,8 @@ void CViewOptions::readFromFile(const char* filename) { clientCutText = atoi(value.buf); } else if (stricmp(name.buf, "AcceptCutText") == 0) { serverCutText = atoi(value.buf); + } else if (stricmp(name.buf, "AcceptBell") == 0) { + acceptBell = atoi(value.buf); } else if (stricmp(name.buf, "Emulate3") == 0) { emulate3 = atoi(value.buf); } else if (stricmp(name.buf, "ShowToolbar") == 0) { @@ -321,6 +323,7 @@ void CViewOptions::writeToFile(const char* filename) { fprintf(f, "SendSysKeys=%d\n", (int)sendSysKeys); fprintf(f, "SendCutText=%d\n", (int)clientCutText); fprintf(f, "AcceptCutText=%d\n", (int)serverCutText); + fprintf(f, "AcceptBell=%d\n", (int)acceptBell); fprintf(f, "Emulate3=%d\n", (int)emulate3); fprintf(f, "ShowToolbar=%d\n", (int)showToolbar); fprintf(f, "PointerEventInterval=%d\n", pointerEventInterval); |