Browse Source

Fix copy-paste error that referred to the wrong variable.

Bug found by David Binderman.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5126 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.3.90
Pierre Ossman 11 years ago
parent
commit
74d412c23b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      vncviewer/parameters.cxx

+ 2
- 2
vncviewer/parameters.cxx View File

@@ -523,8 +523,8 @@ void saveViewerParameters(const char *filename, const char *servername) {
/* Write parameters to file */
FILE* f = fopen(filepath, "w+");
if (!f) {
snprintf(write_error, sizeof(filepath), "Failed to write configuration file, "
"can't open %s", filepath);
snprintf(write_error, sizeof(write_error),
"Failed to write configuration file, can't open %s", filepath);
throw Exception(write_error);
}

Loading…
Cancel
Save