(NFC) h/mercury: Random nit in if case

This commit is contained in:
Moses Turner 2023-02-16 14:50:36 -06:00 committed by Moses Turner
parent 79701d8567
commit 266aec20e1

View file

@ -234,11 +234,10 @@ refine_center_of_distribution(struct HandTracking *hgt, //
*out_refined_y = coarse_y;
HG_DEBUG(hgt, "Failed! %d %d %d %d %d", coarse_x, coarse_y, w, h, max_kern_width);
return false;
} else {
*out_refined_x = sum_of_values_times_locations_x / sum_of_values;
*out_refined_y = sum_of_values_times_locations_y / sum_of_values;
return true;
}
*out_refined_x = sum_of_values_times_locations_x / sum_of_values;
*out_refined_y = sum_of_values_times_locations_y / sum_of_values;
return true;
}
static bool