summaryrefslogtreecommitdiff
path: root/pngmem.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-05-20 12:45:29 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-05-20 17:15:20 -0500
commit4bb4d016811894abbc5ff5f732713acaf1d77925 (patch)
treeaf75bbb1c19f8ece7fdb198100c6f480041f996b /pngmem.c
parentb205f291f6d0de6f1c23c798aacbdcd731b5cce8 (diff)
downloadlibpng-4bb4d016811894abbc5ff5f732713acaf1d77925.tar.gz
Imported from libpng-1.4.0beta61.tarv1.4.0beta61
Diffstat (limited to 'pngmem.c')
-rw-r--r--pngmem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pngmem.c b/pngmem.c
index 3bbcc2a6f..96dcab2dd 100644
--- a/pngmem.c
+++ b/pngmem.c
@@ -1,7 +1,7 @@
/* pngmem.c - stub functions for memory allocation
*
- * Last changed in libpng 1.4.0 [May 18, 2009]
+ * Last changed in libpng 1.4.0 [May 20, 2009]
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@@ -20,7 +20,7 @@
/* Borland DOS special memory handler */
#if defined(__TURBOC__) && !defined(_Windows) && !defined(__FLAT__)
-/* if you change this, be sure to change the one in png.h also */
+/* If you change this, be sure to change the one in png.h also */
/* Allocate memory for a png_struct. The malloc and memset can be replaced
by a single call to calloc() if this is thought to improve performance. */
@@ -166,7 +166,7 @@ png_malloc_default(png_structp png_ptr, png_alloc_size_t size)
{
if (png_ptr->offset_table == NULL)
{
- /* try to see if we need to do any of this fancy stuff */
+ /* Try to see if we need to do any of this fancy stuff */
ret = farmalloc(size);
if (ret == NULL || ((png_size_t)ret & 0xffff))
{
@@ -281,7 +281,7 @@ png_malloc_default(png_structp png_ptr, png_alloc_size_t size)
return (ret);
}
-/* free a pointer allocated by png_malloc(). In the default
+/* Free a pointer allocated by png_malloc(). In the default
* configuration, png_ptr is not used, but is passed in case it
* is needed. If ptr is NULL, return without taking any action.
*/