Skip to content

Commit 1204a2d

Browse files
committed
Fix error messages
1 parent b5f779d commit 1204a2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/engine_bibtex/src/auxi.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ fn aux_input_command(
374374
let res = pool.lookup_str_insert(hash, file, StrIlk::AuxFile)?;
375375
if res.exists {
376376
write_logs("Already encountered file ");
377-
print_aux_name(pool, res.loc)?;
377+
print_aux_name(pool, hash.text(res.loc))?;
378378
aux_err_print(buffers, aux, pool)?;
379379
return Ok(());
380380
}
@@ -385,7 +385,7 @@ fn aux_input_command(
385385
match file {
386386
Err(_) => {
387387
write_logs("I couldn't open auxiliary file ");
388-
print_aux_name(pool, res.loc)?;
388+
print_aux_name(pool, hash.text(res.loc))?;
389389
aux_err_print(buffers, aux, pool)?;
390390
return Ok(());
391391
}

0 commit comments

Comments
 (0)