forked from minhngoc25a/freetype2
* builds/unix/ftsystem.c: Fix 2 error messages ending without LINEFEED
This commit is contained in:
parent
5a00909a77
commit
a7c5de592c
|
@ -1,3 +1,8 @@
|
|||
2009-01-22 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
* builds/unix/ftsystem.c (FT_Stream_Open): Fix 2 error
|
||||
messages ending without "\n".
|
||||
|
||||
2009-01-22 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
Fix Savannah bug #25347.
|
||||
|
|
|
@ -277,12 +277,12 @@
|
|||
/* */
|
||||
if ( stat_buf.st_size > LONG_MAX )
|
||||
{
|
||||
FT_ERROR(( "FT_Stream_Open: file is too big" ));
|
||||
FT_ERROR(( "FT_Stream_Open: file is too big\n" ));
|
||||
goto Fail_Map;
|
||||
}
|
||||
else if ( stat_buf.st_size == 0 )
|
||||
{
|
||||
FT_ERROR(( "FT_Stream_Open: zero-length file" ));
|
||||
FT_ERROR(( "FT_Stream_Open: zero-length file\n" ));
|
||||
goto Fail_Map;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue