[PATCH 08/11] regedit: Simplify boolean comparisons in edit.c