CID 1162772: Missing break (and typos fixed)