summaryrefslogtreecommitdiff
path: root/test/editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/editor.cxx')
-rw-r--r--test/editor.cxx2
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