'gtk2_ardour' - Try 'lrintf' instead of 'rintf' which isn't available in MSVC

This commit is contained in:
John Emmas 2013-10-03 09:50:34 +01:00
parent 904367748c
commit bc2b2f9e35
1 changed files with 1 additions and 1 deletions

View File

@ -843,7 +843,7 @@ meter_render_metrics (Gtk::Widget& w, MeterType type, vector<DataType> types)
case DataType::MIDI:
align_center = false; // don't bleed into legend
fraction = (j->first) / 127.0;
pos = 1 + height - (gint) rintf (height * fraction);
pos = 1 + height - (gint) lrintf (height * fraction);
pos = min (pos, height);
cairo_set_source_rgb (cr, c.get_red_p(), c.get_green_p(), c.get_blue_p());
if (tickleft) {