y_version.inc nađi u
\pawno\include\YSI\internalotvori to i nađi
public YVers_Callback i zamijeni ga sa ovim kodom
public YVers_Callback(index, code, data[])
{
print(" ");
if (code == 200)
{
// Got the remote page.
// The first line is the version data version. This should be forward
// compatible, so new data is always added to the end of the file.
// Skip the first line - contains the response version.
new
pos = strfind(data, "\n") + 1;
if (strcmp(data, YSI_VERSION, false, 9))
{
//data[pos + 9] = '\0';
print(" ========================================== ");
print(" | | ");
printf(" | A new version (v%.9s) of YSI is | ", data);
print(" | available from: | ");
print(" | | ");
print(" | www.y-less.com/YSI/YSI_1.0.zip | ");
//printf("data: %c", data);
if (data == '2')
{
print(" | | ");
print(" | Changelog: | ");
// Print the changelog.
new
last = pos + 13;
for ( ; ; )
{
pos = strfind(data, "\n", false);
//printf("%d %d %s", last, pos, data);
if (pos == -1)
{
// To break out in the middle of a loop.
break;
}
pos += last;
data[pos - 1] = '\0';
printf(" | %38s | ", data);
last = pos + 1;
}
}
print(" | | ");
print(" ========================================== ");
}
/* else
{
print(" ====================================== ");
print(" | | ");
print(" | Congratulations! You are running | ");
print(" | the latest version of YSI! | ");
print(" | | ");
print(" ====================================== ");
} */
}
/*else
{
// Didn't get the remote page.
print(" ======================================= ");
print(" | | ");
print(" | Error: Could not connect to YSI | ");
printf(" | update server (response was %03d). | ", code);
print(" | | ");
print(" ======================================= "); */
}*/
}
ako ne zelis tako onda samo obrisi zadnja elsea s tim da ostavis 2 zatvorene }ovo ti ispisuje to je jer ne radi
Y_Lessova web stranica (
www.y-less.com)
na verziji YSI 3.1 je to popravljeno ne znam koju verziju YSIa koristis al ubaci
verziju YSIa 3.1 - to ti predlazem xd 😄