Частично убраны ошибки при компиляции.
This commit is contained in:
@@ -7590,17 +7590,17 @@ public PayDay()
|
||||
return 1;
|
||||
}
|
||||
|
||||
strtok(const string[], &index)
|
||||
strtok(const string[], &index, const delimiter = ' ')
|
||||
{
|
||||
new length = strlen(string);
|
||||
while ((index < length) && (string[index] <= ' '))
|
||||
while ((index < length) && (string[index] <= delimiter))
|
||||
{
|
||||
index++;
|
||||
}
|
||||
|
||||
new offset = index;
|
||||
new result[20];
|
||||
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
|
||||
while ((index < length) && (string[index] > delimiter) && ((index - offset) < (sizeof(result) - 1)))
|
||||
{
|
||||
result[index - offset] = string[index];
|
||||
index++;
|
||||
|
||||
@@ -93,7 +93,7 @@ public FixRus(string[])
|
||||
|
||||
stock strlower(txt[])
|
||||
{
|
||||
new tmp[MAX_TEXTSTR];
|
||||
new tmp[512];
|
||||
tmp[0]=0;
|
||||
if (txt[0]==0) return tmp;
|
||||
new i=0;
|
||||
|
||||
Reference in New Issue
Block a user