mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
remove superfluous ceil()
This commit is contained in:
parent
76df2d6e36
commit
c8d25f37bc
1 changed files with 1 additions and 1 deletions
|
|
@ -1247,7 +1247,7 @@ ProcessorEntry::PluginDisplay::on_expose_event (GdkEventExpose* ev)
|
|||
* -> width changes -> inline-view, fixed aspect ratio -> height changes
|
||||
* -> scroll bar is removed [-> width changes ; repeat ]
|
||||
*/
|
||||
uint32_t shm = std::min (_max_height, (uint32_t) ceil (dis->height));
|
||||
uint32_t shm = std::min (_max_height, (uint32_t)dis->height);
|
||||
bool sc = false;
|
||||
Gtk::Container* pr = get_parent();
|
||||
for (uint32_t i = 0; i < 4 && pr; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue