git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48578a3
)
fix colors
author
Felix Domke
<tmbinc@elitedvb.net>
Wed, 16 Apr 2008 00:38:28 +0000
(
00:38
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Wed, 16 Apr 2008 00:38:28 +0000
(
00:38
+0000)
main/bsod.cpp
patch
|
blob
|
history
diff --git
a/main/bsod.cpp
b/main/bsod.cpp
index 784b2171997f0315f6691692635d5a519b23953d..bb4c7ad7c27efc0fcc4177b0087deae4784a5ff0 100644
(file)
--- a/
main/bsod.cpp
+++ b/
main/bsod.cpp
@@
-112,15
+112,16
@@
void bsodFatal()
p.setBackgroundColor(gRGB(0x0000C0));
else if (ENIGMA2_CHECKOUT_TAG[0] == 'D') /* dated checkout (daily experimental build) */
{
p.setBackgroundColor(gRGB(0x0000C0));
else if (ENIGMA2_CHECKOUT_TAG[0] == 'D') /* dated checkout (daily experimental build) */
{
+ srand(time(0));
int r = rand();
int r = rand();
- unsigned int col;
+ unsigned int col
= 0
;
if (r & 1)
col |= 0x800000;
if (r & 2)
col |= 0x008000;
if (r & 4)
col |= 0x0000c0;
if (r & 1)
col |= 0x800000;
if (r & 2)
col |= 0x008000;
if (r & 4)
col |= 0x0000c0;
- p.setBackgroundColor(gRGB(
r
));
+ p.setBackgroundColor(gRGB(
col
));
}
#else
p.setBackgroundColor(gRGB(0x008000));
}
#else
p.setBackgroundColor(gRGB(0x008000));