Skip to content

Commit

Permalink
Fix issue with EAN-13 barcodes that start with 2. See http://code.goo…
Browse files Browse the repository at this point in the history
  • Loading branch information
dalewking committed Aug 17, 2010
1 parent 35c4dff commit eb2a23e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NKDEAN13Barcode.m
Expand Up @@ -2,7 +2,7 @@
// NKDEAN13Barcode.m
// -----------------------------------------------------------------------------------
// Created by Jeff LaMarche on Fri May 10 2002.
// ©2002 Naked Software. All rights reserved.
// 2002 Naked Software. All rights reserved.
// -----------------------------------------------------------------------------------
// THIS SOURCE CODE IS PROVIDED AS-IS WITH NO WARRANTY OF ANY KIND
// -----------------------------------------------------------------------------------
Expand Down Expand Up @@ -100,8 +100,8 @@ -(BOOL)_parityForSystemDigit: (char) systemDigit
switch (index)
{
case 1:
case 3:
case 4:
case 2:
case 5:
return ODD_PARITY;
default:
return EVEN_PARITY;
Expand Down

0 comments on commit eb2a23e

Please sign in to comment.