/src/im/imstaff.cpp line 640 Code: if ( (threshold_in_percent != 0) || (threshold_in_percent != 100) ) // <-- probably && staff_threshold = m_med / (100 / threshold_in_percent); // threshold_in_percent