projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cad02d2
)
color is a unsigned int not a float
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Wed, 25 Apr 2012 10:35:53 +0000
(10:35 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Wed, 25 Apr 2012 10:35:53 +0000
(10:35 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
27e0ba0
..
c43889b
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-252,7
+252,7
@@
static void associate_colors(struct psensor **sensors)
unsigned int colors[COLORS_COUNT][3] = {
{0x0000, 0x0000, 0x0000}, /* black */
{0xffff, 0x0000, 0x0000}, /* red */
- {0x0000, 0
.
0000, 0xffff}, /* blue */
+ {0x0000, 0
x
0000, 0xffff}, /* blue */
{0x0000, 0xffff, 0x0000}, /* green */
{0x7fff, 0x7fff, 0x7fff}, /* grey */