fix red, strtok_r being annoying on sim builds

Change-Id: Ifb884a53d801db9534dd0c5ab5921800e971963e
This commit is contained in:
Jonathan Gordon 2014-02-13 22:24:29 +11:00
parent 6dbfd44b6e
commit 4b1221d556
2 changed files with 3 additions and 2 deletions

View file

@ -62,7 +62,7 @@ void load_from_cfg(void)
rb->root_menu_write_to_cfg(NULL, config_str, sizeof(config_str));
token = strtok_r(config_str, ", ", &save);
token = rb->strtok_r(config_str, ", ", &save);
while (token)
{
@ -78,7 +78,7 @@ void load_from_cfg(void)
menu_items[done].enabled = true;
done++;
}
token = strtok_r(NULL, ", ", &save);
token = rb->strtok_r(NULL, ", ", &save);
}
if (done < menu_item_count)