rtext: removed always false comparison
This commit is contained in:
parent
80fecccca8
commit
5bc70d9e56
|
|
@ -1841,19 +1841,12 @@ const char *TextToCamel(const char *text)
|
||||||
{
|
{
|
||||||
j++;
|
j++;
|
||||||
if ((text[j] >= 'a') && (text[j] <= 'z'))
|
if ((text[j] >= 'a') && (text[j] <= 'z'))
|
||||||
{
|
|
||||||
if (i == 0)
|
|
||||||
{
|
|
||||||
buffer[i] = text[j];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
buffer[i] = text[j] - 32;
|
buffer[i] = text[j] - 32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user