diff options
Diffstat (limited to 'utils/regtools/qeditor/regedit.cpp')
-rw-r--r-- | utils/regtools/qeditor/regedit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/regtools/qeditor/regedit.cpp b/utils/regtools/qeditor/regedit.cpp index 851e054eb0..8b4bfb7c49 100644 --- a/utils/regtools/qeditor/regedit.cpp +++ b/utils/regtools/qeditor/regedit.cpp | |||
@@ -421,7 +421,7 @@ void RegEditPanel::OnFormulaGenerate(bool checked) | |||
421 | map["n"] = n; | 421 | map["n"] = n; |
422 | std::string err; | 422 | std::string err; |
423 | soc_word_t res; | 423 | soc_word_t res; |
424 | if(!soc_desc_evaluate_formula(formula, map, res, err)) | 424 | if(!evaluate_formula(formula, map, res, err)) |
425 | { | 425 | { |
426 | qDebug() << "Cannot evaluator " << QString::fromStdString(formula) | 426 | qDebug() << "Cannot evaluator " << QString::fromStdString(formula) |
427 | << "for n=" << n << ": " << QString::fromStdString(err); | 427 | << "for n=" << n << ": " << QString::fromStdString(err); |
@@ -1051,8 +1051,8 @@ void RegEdit::OnNew() | |||
1051 | 1051 | ||
1052 | bool RegEdit::SaveSocFile(const QString& filename) | 1052 | bool RegEdit::SaveSocFile(const QString& filename) |
1053 | { | 1053 | { |
1054 | soc_desc_normalize(m_cur_socfile.GetSoc()); | 1054 | normalize(m_cur_socfile.GetSoc()); |
1055 | if(!soc_desc_produce_xml(filename.toStdString(), m_cur_socfile.GetSoc())) | 1055 | if(!produce_xml(filename.toStdString(), m_cur_socfile.GetSoc())) |
1056 | { | 1056 | { |
1057 | QMessageBox::warning(this, "The description was not saved", | 1057 | QMessageBox::warning(this, "The description was not saved", |
1058 | "There was an error when saving the file"); | 1058 | "There was an error when saving the file"); |