diff options
| author | Manolo Gouy <Manolo> | 2010-12-15 17:38:39 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-12-15 17:38:39 +0000 |
| commit | f451946d42841257092fd24d9c4c4f45d196a314 (patch) | |
| tree | 435f1f4f28e5daa609f6fd4ddd52ac927afb71b9 /test/editor.cxx | |
| parent | 97e8dc94c98f1310711dafafba33f9492e45b77d (diff) | |
Homogenize use of re-encoding and transcoding (in favor of the latter).
Also, makes clear that the code is ready to deal with any encoding, not just fixed-length ones.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/editor.cxx')
| -rw-r--r-- | test/editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/editor.cxx b/test/editor.cxx index 92742ad48..722cd8199 100644 --- a/test/editor.cxx +++ b/test/editor.cxx @@ -492,7 +492,7 @@ void load_file(const char *newfile, int ipos) { int r; if (!insert) r = textbuf->loadfile(newfile); else r = textbuf->insertfile(newfile, ipos); - changed = changed || textbuf->input_file_was_reencoded; + changed = changed || textbuf->input_file_was_transcoded; if (r) fl_alert("Error reading from file \'%s\':\n%s.", newfile, strerror(errno)); else |
