annotate gui/mplayer/pixmaps/empty1px.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
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 empty1px_xpm[] = {
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
3 "1 1 1 1",
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
4 " c None",
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
5 " "};