static void OnWaypointListEnter(unsigned i) { if (WayPointSelectInfo.size() > 0) wf->SetModalResult(mrOK); else OnFilterNameButton(*wbName); }
static void OnWaypointListEnter(gcc_unused unsigned i) { if (waypoint_list.size() > 0) dialog->SetModalResult(mrOK); else OnFilterNameButton(*name_button); }