moved duplicated code to common functions

db4833d4d6Matthew Knight committed on 5/5/2020, 6:45:31 AMparentc5198bd
2 files changedLine totals unavailable