Commit d84c3de3 authored by Frank Bergmann's avatar Frank Bergmann

- Changes from po40demo @ valencia

parent 57e6a9b1
Pipeline #408 failed with stages
......@@ -36,6 +36,11 @@ ad_proc -public im_resource_mgmt_resource_planning_cell {
# Calculate the percentage / 10, so that height=10 with 100%
# Always draw a line, even if percentage is < 5%
# (which would result in 0 height of the GIF...)
set p 0
catch {
set p [expr round((1.0 * $percentage) / 10.0)]
}
set p [expr round((1.0 * $percentage) / 10.0)]
if {0 == $p && $percentage > 0.0} { set p 1 }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment