Mercurial > mplayer.hg
view gui/mplayer/pixmaps/eq.xpm @ 30790:9f30c9cb599b
Fix crashes in CreatePalette by fixing the LOGPALETTE struct.
CreatePalette had problems for me, and looking at the code it was quite
obvious why; someone had reversed the order of the two elements of the
LOGPALETTE struct, causing it to allocate and copy a bogus amount of memory.
Why on earth anybody would want to do that is beyond me; whoever did it even
left a comment, but it wasn't very helpful, as it crashed nevertheless. :-)
author | sesse |
---|---|
date | Thu, 04 Mar 2010 15:31:54 +0000 |
parents | 09c3ce60f369 |
children |
line wrap: on
line source
/* XPM */ static const char * const eq_xpm[] = { "16 16 16 1", " c None", ". c #000000", "+ c #FE3700", "@ c #FE8200", "# c #FEB900", "$ c #FFBA00", "% c #FEF100", "& c #FFF100", "* c #E8FE00", "= c #E9FF00", "- c #95FE00", "; c #96FF00", "> c #48FE00", ", c #49FF00", "' c #23FF00", ") c #24FF00", " .............. ", "................", ".....++.........", ".....@@.@@@.....", ".....@@.@@@.....", ".##$.##.###.....", ".###.##.###.....", ".%%&.%%.%%%.....", ".**=.**.***.**=.", ".***.**.***.***.", ".--;.--.---.--;.", ".---.--.---.---.", ".>>,.>>.>>>.>>,.", ".'').''.'''.'').", ".'''.''.'''.'''.", "................"};