Statistics
| Branch: | Revision:

root / ui / sdl_zoom_template.h @ b9a7b74f

History | View | Annotate | Download (6.9 kB)

# Date Author Comment
cc69bda6 01/16/2013 02:25 am Markus Armbruster

sdl: Fix heap smash in sdl_zoom_rgb{16,32} for int > 32 bits

Careless use of malloc(): allocate Uint32[N], assign to int *, use
int[N].

Fix by converting to g_new().

Functions can't fail anymore, so make them return void. Caller
ignored the value anyway....

3e230dd2 07/27/2010 01:35 am Corentin Chary

ui: move all ui components in ui/

Move sdl, vnc, curses and cocoa UI into ui/ to cleanup
the root directory. Also remove some unnecessary explicit
targets from Makefile.

aliguori: fix build when srcdir != objdir

Signed-off-by: Corentin Chary <>...