projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix for serialising multiple overlapping mixes
[melted]
/
src
/
modules
/
core
/
producer_colour.c
diff --git
a/src/modules/core/producer_colour.c
b/src/modules/core/producer_colour.c
index
29bde44
..
2cc6779
100644
(file)
--- a/
src/modules/core/producer_colour.c
+++ b/
src/modules/core/producer_colour.c
@@
-60,6
+60,9
@@
rgba_color parse_color( char *color )
{
rgba_color result = { 0xff, 0xff, 0xff, 0xff };
+ if ( strchr( color, '/' ) )
+ color = strrchr( color, '/' ) + 1;
+
if ( !strncmp( color, "0x", 2 ) )
{
unsigned int temp = 0;