Skip to content

Commit

Permalink
Merge pull request #3 from snipsnipsnip/fix-typo-in-pynkf_putchar
Browse files Browse the repository at this point in the history
Fix typo in pynkf_putchar()
  • Loading branch information
fumiyas committed Dec 11, 2014
2 parents 37d21cc + da1f977 commit 000915e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nkf.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pynkf_putchar(int c)
}else{
size = pynkf_obufsize + pynkf_obufsize;
p = (unsigned char *)PyMem_Realloc(pynkf_outbuf, size + 1);
if (pynkf_outbuf == NULL){ longjmp(env, 1); }
if (p == NULL){ longjmp(env, 1); }
pynkf_outbuf = p;
pynkf_optr = pynkf_outbuf + pynkf_obufsize;
pynkf_ocount = pynkf_obufsize;
Expand Down

0 comments on commit 000915e

Please sign in to comment.