changing the start (position) of a marker with a scene change needs to update the...
[ardour.git] / gtk2_ardour / ui_config.cc
index 7cb1953390ba232933727a719809d05ce124dfb7..215df25e7f2ea179c79d1a834d091c4b6a1837c4 100644 (file)
@@ -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