mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-25 21:59:30 +01:00
When reporting the column number, start counting at 1 instead of 0.
This is more user-friendly.
This commit is contained in:
parent
fdc5e989ec
commit
9d88250b25
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ unsigned int CompDic::makeNode(ostream &outFile, const Header &iHeader,
|
|||
ostringstream oss;
|
||||
oss << fmt(_("Error in the word list on line %1%, col %2%: %3%"))
|
||||
% (1 + m_headerInfo.nwords)
|
||||
% (m_endString - m_stringBuf)
|
||||
% (1 + m_endString - m_stringBuf)
|
||||
% e.what() << endl;
|
||||
throw DicException(oss.str());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue