Magellan Linux

Contents of /trunk/ttmkfdir/patches/ttmkfdir-3.0.9-cpp.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 505 byte(s)
-import

1 --- ttmkfdir-3.0.9/ttf.cpp.sopwith Thu Aug 7 12:49:08 2003
2 +++ ttmkfdir-3.0.9/ttf.cpp Thu Aug 7 12:50:01 2003
3 @@ -239,7 +239,7 @@
4 for (i = 0; i < n; i++) {
5 if ((fterror = FT_Get_Sfnt_Name (face, i, &NamePtr)) != FT_Err_Ok) {
6 std::cout << "Warning: Can't SFNT name : " << FileName << "(" << fterror << ")" << std::endl;
7 - return;
8 + return NULL;
9 };
10 platform = NamePtr.platform_id;
11 encoding = NamePtr.encoding_id;