improve non empty files.

This commit is contained in:
Vitor Santos Costa 2011-02-11 14:17:06 +00:00
parent b475be5692
commit 07b17f473a

View File

@ -27,9 +27,10 @@ gds_t gds;
static atom_t
uncachedCodeToAtom(int chrcode)
{ if ( chrcode < 256 )
{ char tmp[1];
{ char tmp[2];
tmp[0] = chrcode;
tmp[1] = '\0';
return lookupAtom(tmp, 1);
} else
{ pl_wchar_t tmp[2];