summaryrefslogtreecommitdiff
path: root/graphics/asymptote/errormsg.cc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-12-28 03:01:00 +0000
committerNorbert Preining <norbert@preining.info>2021-12-28 03:01:00 +0000
commitecdf859b6ce481abfd530425dcf6f0f764bd0001 (patch)
tree13bc161dc046876ac6c92fce5f9f5034ba9aa573 /graphics/asymptote/errormsg.cc
parent790995b7e79697514364450bf9c04f1b8d500838 (diff)
CTAN sync 202112280300
Diffstat (limited to 'graphics/asymptote/errormsg.cc')
-rw-r--r--graphics/asymptote/errormsg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/asymptote/errormsg.cc b/graphics/asymptote/errormsg.cc
index afa307283b..637f6ae50f 100644
--- a/graphics/asymptote/errormsg.cc
+++ b/graphics/asymptote/errormsg.cc
@@ -27,7 +27,7 @@ ostream& operator<< (ostream& out, const position& pos)
string filename=pos.file->name();
if(filename != "-" && !settings::getSetting<bool>("quiet")) {
- std::ifstream fin(pos.file->name().c_str());
+ std::ifstream fin(filename.c_str());
string s;
size_t count=pos.line;
while(count > 0 && getline(fin,s)) {