diff options
Diffstat (limited to 'lib/Input.cc')
-rw-r--r-- | lib/Input.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Input.cc b/lib/Input.cc index a466468..99c4bae 100644 --- a/lib/Input.cc +++ b/lib/Input.cc @@ -14,10 +14,9 @@ Input::Input(String no) throw (GeneralException) : Handle(no.strlen() ? open(no.to_charp(), O_RDONLY) : 0), n(no) { if (GetHandle() < 0) { - throw IOGeneral(String("Error opening file") + no + " for reading: " + strerror(errno)); + throw IOGeneral(String(_("Error opening file")) + no + _(" for reading: ") + strerror(errno)); } - cerr << "File " << no << " is opened with handle " << GetHandle() << endl; size = lseek(GetHandle(), 0, SEEK_END); lseek(GetHandle(), 0, SEEK_SET); |