projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
changing the start (position) of a marker with a scene change needs to update the...
[ardour.git]
/
gtk2_ardour
/
ui_config.cc
diff --git
a/gtk2_ardour/ui_config.cc
b/gtk2_ardour/ui_config.cc
index 7cb1953390ba232933727a719809d05ce124dfb7..215df25e7f2ea179c79d1a834d091c4b6a1837c4 100644
(file)
--- a/
gtk2_ardour/ui_config.cc
+++ b/
gtk2_ardour/ui_config.cc
@@
-287,7
+287,7
@@
UIConfiguration::color_by_name (const std::string& name)
}
// cerr << string_compose (_("Color %1 not found"), name) << endl;
- return RGBA_TO_UINT (
random()%256,random()%256,random
()%256,0xff);
+ return RGBA_TO_UINT (
g_random_int()%256,g_random_int()%256,g_random_int
()%256,0xff);
}
void