git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/gdi/font.cpp: try to fix wrong reordering of some characters
[enigma2.git]
/
lib
/
gdi
/
epng.cpp
diff --git
a/lib/gdi/epng.cpp
b/lib/gdi/epng.cpp
index d0da60327b4c249b74e7f260662ff3f085a83cab..972a89d374cf647f6eb667db5e90da730b6c85ea 100644
(file)
--- a/
lib/gdi/epng.cpp
+++ b/
lib/gdi/epng.cpp
@@
-300,7
+300,7
@@
int savePNG(const char *filename, gPixmap *pixmap)
else
png_write_row(png_ptr, row_pointer);
}
- delete cr;
+ delete
[]
cr;
png_write_end(png_ptr, info_ptr);
png_destroy_write_struct(&png_ptr, &info_ptr);