diff options
author | Bob Ippolito <bob@redivi.com> | 2008-05-03 22:56:43 +0000 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2008-05-03 22:56:43 +0000 |
commit | 3935999d8c0b434e20e8052053538da666ce81cd (patch) | |
tree | 9a75690ac373ef99e7d997b9467dc8de87924e31 | |
parent | 99ce437375ee2504d44970277f82dbbce9351d9d (diff) | |
download | simplejson-3935999d8c0b434e20e8052053538da666ce81cd.tar.gz |
tabs to spaces
git-svn-id: http://simplejson.googlecode.com/svn/trunk@91 a4795897-2c25-0410-b006-0d3caba88fa1
-rw-r--r-- | simplejson/_speedups.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/simplejson/_speedups.c b/simplejson/_speedups.c index a5a6132..231fc47 100644 --- a/simplejson/_speedups.c +++ b/simplejson/_speedups.c @@ -104,7 +104,7 @@ ascii_escape_unicode(PyObject *pystr) if (S_CHAR(c)) { output[chars++] = (char)c; } - else { + else { chars = ascii_escape_char(c, output, chars); } if (output_size - chars < (1 + MAX_EXPANSION)) { @@ -154,7 +154,7 @@ ascii_escape_str(PyObject *pystr) if (S_CHAR(c)) { output[chars++] = (char)c; } - else if (c > 0x7F) { + else if (c > 0x7F) { /* We hit a non-ASCII character, bail to unicode mode */ PyObject *uni; Py_DECREF(rval); @@ -166,7 +166,7 @@ ascii_escape_str(PyObject *pystr) Py_DECREF(uni); return rval; } - else { + else { chars = ascii_escape_char(c, output, chars); } /* An ASCII char can't possibly expand to a surrogate! */ |