Fix parser function description detection
Some functions in easings.h are defined on a single line and include a division which was mistaken for the start of the description.
This commit is contained in:
parent
8cb03ef524
commit
156d244a87
|
|
@ -728,7 +728,7 @@ int main(int argc, char* argv[])
|
|||
// Get function description
|
||||
for (int c = funcEnd; c < MAX_LINE_LENGTH; c++)
|
||||
{
|
||||
if (funcLines[i][c] == '/')
|
||||
if ((funcLines[i][c] == '/') && (funcLines[i][c + 1] == '/'))
|
||||
{
|
||||
MemoryCopy(funcs[i].desc, &funcLines[i][c], 127); // WARNING: Size could be too long for funcLines[i][c]?
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user