Update basic.c

This commit is contained in:
Herman
2022-04-01 20:28:22 +02:00
committed by GitHub
parent f53c3b2052
commit 41f62d2415
+1 -1
View File
@@ -74,7 +74,7 @@ static Object *bin_unicode(Runtime *runtime, Object **argv, unsigned int argc, E
if (string == NULL)
return NULL;
if (strcmp("\0",string)== 0)
if (n == 0)
{
Error_Report(error, 0, "Argument #%d is empty string", 1);