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