Permalink
Browse files

Fix up my indentation. Different text editor settings. :-(

  • Loading branch information...
1 parent db9c326 commit 46b43393baf88295193bfdf61fc5170076b1a25f @PeterScott PeterScott committed Feb 12, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 json.c
View
8 json.c
@@ -47,10 +47,10 @@ typedef unsigned short json_uchar;
static unsigned char hex_value (json_char c)
{
- if (c >= 48 && c <= 57) return c - 48;
- if (c >= 65 && c <= 70) return c - 55;
- if (c >= 97 && c <= 102) return c - 87;
- return -1;
+ if (c >= 48 && c <= 57) return c - 48;
+ if (c >= 65 && c <= 70) return c - 55;
+ if (c >= 97 && c <= 102) return c - 87;
+ return 0xFF;
}
typedef struct

0 comments on commit 46b4339

Please sign in to comment.