Commit bc66340f authored by Pavlov Konstantin's avatar Pavlov Konstantin

backport [15480] too

parent 5310d53e
...@@ -128,7 +128,7 @@ mvar_t *E_(mvar_GetVar)( mvar_t *s, const char *name ) ...@@ -128,7 +128,7 @@ mvar_t *E_(mvar_GetVar)( mvar_t *s, const char *name )
{ {
/* format: name[index].field */ /* format: name[index].field */
char *field = strchr( name, '.' ); char *field = strchr( name, '.' );
int i = 1 + (field != NULL) ? (field - name) : strlen( name ); int i = 1 + ((field != NULL) ? (field - name) : strlen( name ));
char base[i]; char base[i];
char *p; char *p;
int i_index; int i_index;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment