improve non empty files.
This commit is contained in:
parent
b475be5692
commit
07b17f473a
@ -27,9 +27,10 @@ gds_t gds;
|
|||||||
static atom_t
|
static atom_t
|
||||||
uncachedCodeToAtom(int chrcode)
|
uncachedCodeToAtom(int chrcode)
|
||||||
{ if ( chrcode < 256 )
|
{ if ( chrcode < 256 )
|
||||||
{ char tmp[1];
|
{ char tmp[2];
|
||||||
|
|
||||||
tmp[0] = chrcode;
|
tmp[0] = chrcode;
|
||||||
|
tmp[1] = '\0';
|
||||||
return lookupAtom(tmp, 1);
|
return lookupAtom(tmp, 1);
|
||||||
} else
|
} else
|
||||||
{ pl_wchar_t tmp[2];
|
{ pl_wchar_t tmp[2];
|
||||||
|
Reference in New Issue
Block a user