projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed separator handling for menus.
[wxWidgets.git]
/
src
/
png
/
example.c
diff --git
a/src/png/example.c
b/src/png/example.c
index 1cc450f80e7d9412ed7e8f7f5e7ead47774c4bdc..7956cf7abd192393166724577b11d1edf72fba01 100644
(file)
--- a/
src/png/example.c
+++ b/
src/png/example.c
@@
-282,7
+282,7
@@
void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
/* This reduces the image to the palette supplied in the file */
else if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette))
{
- png_uint_16p histogram;
+ png_uint_16p histogram
= NULL
;
png_get_hIST(png_ptr, info_ptr, &histogram);