diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/3rdparty/libpng/example.c')
-rw-r--r-- | experimental/tqtinterface/qt4/src/3rdparty/libpng/example.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/experimental/tqtinterface/qt4/src/3rdparty/libpng/example.c b/experimental/tqtinterface/qt4/src/3rdparty/libpng/example.c index b39478a41..c7ebb4bb2 100644 --- a/experimental/tqtinterface/qt4/src/3rdparty/libpng/example.c +++ b/experimental/tqtinterface/qt4/src/3rdparty/libpng/example.c @@ -138,7 +138,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */ png_init_io(png_ptr, fp); #else no_streams /* PNG file I/O method 2 */ - /* If you are using tqreplacement read functions, instead of calling + /* If you are using replacement read functions, instead of calling * png_init_io() here you would call: */ png_set_read_fn(png_ptr, (void *)user_io_ptr, user_read_fn); @@ -488,14 +488,14 @@ row_callback(png_structp png_ptr, png_bytep new_row, * this function will be called for every row in every pass. * * In this function you will receive a pointer to new row data from - * libpng called new_row that is to tqreplace a corresponding row (of + * libpng called new_row that is to replace a corresponding row (of * the same data format) in a buffer allocated by your application. * * The new row data pointer new_row may be NULL, indicating there is - * no new data to be tqreplaced (in cases of interlace loading). + * no new data to be replaced (in cases of interlace loading). * * If new_row is not NULL then you need to call - * png_progressive_combine_row() to tqreplace the corresponding row as + * png_progressive_combine_row() to replace the corresponding row as * shown below: */ /* Check if row_num is in bounds. */ @@ -602,7 +602,7 @@ void write_png(char *file_name /* , ... other image information ... */) /* set up the output control if you are using standard C streams */ png_init_io(png_ptr, fp); #else no_streams /* I/O initialization method 2 */ - /* If you are using tqreplacement read functions, instead of calling + /* If you are using replacement read functions, instead of calling * png_init_io() here you would call */ png_set_write_fn(png_ptr, (void *)user_io_ptr, user_write_fn, user_IO_flush_function); |