mike06j contributed patch for Issue 1820

git-svn-id: https://zxing.googlecode.com/svn/trunk@2993 59b500cc-1b3d-0410-9834-0bbf25fbcc57