[Bug 59497] Incorrect condition in edit.c EDIT_EM_ReplaceSel