mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-02 19:14:05 +00:00
Some cosmetic in log
This commit is contained in:
parent
35708181f4
commit
387e8d8545
6
aard.cc
6
aard.cc
|
@ -757,13 +757,13 @@ vector< sptr< Dictionary::Class > > makeDictionaries(
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
gdDebug( "Aard: Building the index for dictionary: %s", i->c_str() );
|
gdDebug( "Aard: Building the index for dictionary: %s\n", i->c_str() );
|
||||||
|
|
||||||
{
|
{
|
||||||
QFileInfo info( FsEncoding::decode( i->c_str() ) );
|
QFileInfo info( FsEncoding::decode( i->c_str() ) );
|
||||||
if( info.size() > ULONG_MAX )
|
if( info.size() > ULONG_MAX )
|
||||||
{
|
{
|
||||||
gdWarning( "File %s is too large", i->c_str() );
|
gdWarning( "File %s is too large\n", i->c_str() );
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -779,7 +779,7 @@ vector< sptr< Dictionary::Class > > makeDictionaries(
|
||||||
|| strncmp( dictHeader.keyLengthFormat, ">H", 2 )
|
|| strncmp( dictHeader.keyLengthFormat, ">H", 2 )
|
||||||
|| strncmp( dictHeader.articleLengthFormat, ">L", 2) )
|
|| strncmp( dictHeader.articleLengthFormat, ">L", 2) )
|
||||||
{
|
{
|
||||||
gdWarning( "File %s is not in supported aard format", i->c_str() );
|
gdWarning( "File %s is not in supported aard format\n", i->c_str() );
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue