Fix compile?

This commit is contained in:
Angelo Salese 2011-04-13 22:15:51 +00:00
parent 00d745ca77
commit 801f397cc4

View File

@ -1125,7 +1125,7 @@ void info_xml_creator::output_ramoptions()
if (ram->extra_options != NULL) if (ram->extra_options != NULL)
{ {
astring options(ram->extra_options); astring options(ram->extra_options);
for (int start, end = options.chr(0, ','); ; start = end + 1, end = options.chr(start, ',')) for (int start = 0, end = options.chr(0, ','); ; start = end + 1, end = options.chr(start, ','))
{ {
astring option; astring option;
option.cpysubstr(options, start, (end == -1) ? -1 : end - start); option.cpysubstr(options, start, (end == -1) ? -1 : end - start);