version 1.1 | | version 1.2 |
---|
| | |
t->index = 0; | | t->index = 0; |
t->transmute = 0; | | t->transmute = 0; |
t->yield=0; | | t->yield=0; |
| | t->keycode = 0; |
t->title = NULL; | | t->title = NULL; |
t->arch_name = NULL; | | t->arch_name = NULL; |
t->ingred = NULL; | | t->ingred = NULL; |
| | |
formula=get_empty_formula(); | | formula=get_empty_formula(); |
formula->title = add_string(strchr(cp,' ') + 1); | | formula->title = add_string(strchr(cp,' ') + 1); |
} | | } |
| | else if (!strncmp(cp, "keycode", 7)) { |
| | formula->keycode = add_string(strchr(cp,' ') + 1); |
| | } |
else if (sscanf(cp, "trans %d", &value)) { | | else if (sscanf(cp, "trans %d", &value)) { |
formula->transmute = (uint16) value; | | formula->transmute = (uint16) value; |
} | | } |