forked from pool/freetype2
a143330a32
Update to version 2.5.4 OBS-URL: https://build.opensuse.org/request/show/264431 OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=90
17 lines
691 B
Diff
17 lines
691 B
Diff
--- 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
|
|
@@ -1905,11 +1905,11 @@
|
|
|
|
FT_Library_Version( library, &major, &minor, &patch );
|
|
|
|
- offset = snprintf( version_string, 64,
|
|
+ offset = snprintf( version_string, sizeof(version_string),
|
|
"ttdebug (FreeType) %d.%d",
|
|
major, minor );
|
|
if ( patch )
|
|
- offset = snprintf( version_string + offset, 64 - offset,
|
|
+ offset = snprintf( version_string + offset, sizeof(version_string) - offset,
|
|
".%d",
|
|
patch );
|
|
}
|