19.10.2011, 13:55
Hey,
the text is loaded from MySQL and dont to line breaks

answers? :>
the text is loaded from MySQL and dont to line breaks

answers? :>
stock NewLine(str[])
{
for (new i = 0; i < strlen(str); i++)
{
if (str[i] == '//') {
if (str[i + i] == 'n') {
strdel(str, i, i + 2);
strins(str, "\n", i, sizeof (str));
}
}
}
return 1;
}