main/recipes.c

changeset 124
73ee3cc32a49
parent 121
30aca5888d2b
child 127
e86ee2d718b2
equal deleted inserted replaced
123:a5bc8e689e22 124:73ee3cc32a49
169 */ 169 */
170 if (strcmp("NAME", _xml_element[4]) == 0) { 170 if (strcmp("NAME", _xml_element[4]) == 0) {
171 _xml_add_name[0] = '\0'; 171 _xml_add_name[0] = '\0';
172 strncat(_xml_add_name, char_data_buffer, 63); 172 strncat(_xml_add_name, char_data_buffer, 63);
173 _xml_add_time = 0; // reset 173 _xml_add_time = 0; // reset
174 _xml_add_valid = false;
174 } else if (strcmp("USE", _xml_element[4]) == 0) { 175 } else if (strcmp("USE", _xml_element[4]) == 0) {
175 if (strcmp("Boil", char_data_buffer) == 0) { 176 if (strcmp("Boil", char_data_buffer) == 0) {
176 _xml_add_valid = true; 177 _xml_add_valid = true;
177 _xml_add_type = ADDITION_HOP_BOIL; 178 _xml_add_type = ADDITION_HOP_BOIL;
178 } else if (strcmp("Aroma", char_data_buffer) == 0) { 179 } else if (strcmp("Aroma", char_data_buffer) == 0) {

mercurial