Mercurial > mplayer.hg
annotate 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 |
rev | line source |
---|---|
23077 | 1 /* XPM */ |
25715
09c3ce60f369
Make xpm arrays really const (I missed that they are not strings but
reimar
parents:
23077
diff
changeset
|
2 static const char * const eq_xpm[] = { |
23077 | 3 "16 16 16 1", |
4 " c None", | |
5 ". c #000000", | |
6 "+ c #FE3700", | |
7 "@ c #FE8200", | |
8 "# c #FEB900", | |
9 "$ c #FFBA00", | |
10 "% c #FEF100", | |
11 "& c #FFF100", | |
12 "* c #E8FE00", | |
13 "= c #E9FF00", | |
14 "- c #95FE00", | |
15 "; c #96FF00", | |
16 "> c #48FE00", | |
17 ", c #49FF00", | |
18 "' c #23FF00", | |
19 ") c #24FF00", | |
20 " .............. ", | |
21 "................", | |
22 ".....++.........", | |
23 ".....@@.@@@.....", | |
24 ".....@@.@@@.....", | |
25 ".##$.##.###.....", | |
26 ".###.##.###.....", | |
27 ".%%&.%%.%%%.....", | |
28 ".**=.**.***.**=.", | |
29 ".***.**.***.***.", | |
30 ".--;.--.---.--;.", | |
31 ".---.--.---.---.", | |
32 ".>>,.>>.>>>.>>,.", | |
33 ".'').''.'''.'').", | |
34 ".'''.''.'''.'''.", | |
35 "................"}; |