2014-12-08 17:14:10 +01:00
|
|
|
--- ft2demos-2.5.4/src/ttdebug.c 2014-05-11 12:50:48.876613439 +0200
|
|
|
|
+++ ft2demos-2.5.4.new/src/ttdebug.c 2014-12-08 16:39:09.744778704 +0100
|
2013-12-11 08:36:25 +01:00
|
|
|
@@ -1905,11 +1905,11 @@
|
|
|
|
|
|
|
|
FT_Library_Version( library, &major, &minor, &patch );
|
|
|
|
|
2014-12-08 17:14:10 +01:00
|
|
|
- offset = snprintf( version_string, 64,
|
2013-12-11 08:36:25 +01:00
|
|
|
+ offset = snprintf( version_string, sizeof(version_string),
|
|
|
|
"ttdebug (FreeType) %d.%d",
|
|
|
|
major, minor );
|
|
|
|
if ( patch )
|
2014-12-08 17:14:10 +01:00
|
|
|
- offset = snprintf( version_string + offset, 64 - offset,
|
2013-12-11 08:36:25 +01:00
|
|
|
+ offset = snprintf( version_string + offset, sizeof(version_string) - offset,
|
|
|
|
".%d",
|
|
|
|
patch );
|
|
|
|
}
|