* src/lzw/ftlzw.c: Include zopen.h dependent on
FT_CONFIG_OPTION_USE_LZW.
* src/base/ftdebug.c: s/index/idx/ to avoid compiler warnings.
diff --git a/src/base/ftdebug.c b/src/base/ftdebug.c
index d8ccd80..b84edbf 100644
--- a/src/base/ftdebug.c
+++ b/src/base/ftdebug.c
@@ -107,13 +107,13 @@
/* documentation is in ftdebug.h */
FT_EXPORT_DEF( const char * )
- FT_Trace_Get_Name( FT_Int index )
+ FT_Trace_Get_Name( FT_Int idx )
{
int max = FT_Trace_Get_Count();
- if ( index < max )
- return ft_trace_toggles[index];
+ if ( idx < max )
+ return ft_trace_toggles[idx];
else
return NULL;
}
@@ -228,7 +228,7 @@
FT_EXPORT_DEF( const char * )
- FT_Trace_Get_Name( FT_Int index )
+ FT_Trace_Get_Name( FT_Int idx )
{
return NULL;
}