Use the device model as the default title
This commit is contained in:
parent
c2c83cbf8a
commit
99a2c0a9b8
|
@ -563,7 +563,7 @@ static int _new_load(Simulator * simulator, char const * model)
|
|||
&& p[0] != '\0' && *q == '\0')
|
||||
simulator->height = l;
|
||||
free(simulator->title);
|
||||
if((p = config_get(config, NULL, "title")) != NULL)
|
||||
if((p = config_get(config, NULL, "model")) != NULL)
|
||||
simulator->title = strdup(p);
|
||||
else
|
||||
simulator->title = NULL;
|
||||
|
|
Loading…
Reference in New Issue
Block a user