Update hedit.c

Bug report using wrong arg (thanks WhiskyTest)