Make the choice of last commit mor obvious
This commit is contained in:
parent
87a9d87f7d
commit
19abc83312
|
|
@ -7114,6 +7114,10 @@ static char *inp_functionalise_identifier(char *curr_line, char *identifier)
|
|||
char* estr1 = strchr(curr_line, '=');
|
||||
char* estr2 = strchr(curr_line, '{');
|
||||
char* estr;
|
||||
|
||||
if (!estr1 && !estr2)
|
||||
return str;
|
||||
|
||||
if (estr1 && estr2)
|
||||
estr = (estr1 < estr2) ? estr1 : estr2;
|
||||
else if (estr1)
|
||||
|
|
@ -7121,7 +7125,6 @@ static char *inp_functionalise_identifier(char *curr_line, char *identifier)
|
|||
else
|
||||
estr = estr2;
|
||||
|
||||
|
||||
for (p = estr; (p = search_identifier(p, identifier, str)) != NULL;)
|
||||
if (p[len] != '(') {
|
||||
int prefix_len = (int) (p + len - str);
|
||||
|
|
|
|||
Loading…
Reference in New Issue