From f451946d42841257092fd24d9c4c4f45d196a314 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 15 Dec 2010 17:38:39 +0000 Subject: 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 --- test/editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3