diff --git a/UEFITool/uefitool.cpp b/UEFITool/uefitool.cpp index f0501a8..354014f 100644 --- a/UEFITool/uefitool.cpp +++ b/UEFITool/uefitool.cpp @@ -1017,9 +1017,9 @@ void UEFITool::exportDiscoveredGuids() { GuidDatabase db = guidDatabaseFromTreeRecursive(model, model->index(0, 0)); if (!db.empty()) { - QString path = QFileDialog::getSaveFileName(this, tr("Save parsed GUIDs to datavase"), currentPath + ".guids.csv", tr("Comma-separated values files (*.csv);;All files (*)")); + QString path = QFileDialog::getSaveFileName(this, tr("Save parsed GUIDs to database"), currentPath + ".guids.csv", tr("Comma-separated values files (*.csv);;All files (*)")); if (!path.isEmpty()) - guidDatabseExportToFile(path, db); + guidDatabaseExportToFile(path, db); } } diff --git a/UEFITool/uefitool.ui b/UEFITool/uefitool.ui index 0d6a502..5bde7ba 100644 --- a/UEFITool/uefitool.ui +++ b/UEFITool/uefitool.ui @@ -913,7 +913,7 @@ false - Export discovered GUIDs + Export discovered GUIDs... diff --git a/common/guiddatabase.cpp b/common/guiddatabase.cpp index 8361771..a914821 100644 --- a/common/guiddatabase.cpp +++ b/common/guiddatabase.cpp @@ -126,7 +126,7 @@ GuidDatabase guidDatabaseFromTreeRecursive(TreeModel * model, const UModelIndex return db; } -USTATUS guidDatabseExportToFile(const UString & outPath, GuidDatabase & db) +USTATUS guidDatabaseExportToFile(const UString & outPath, GuidDatabase & db) { std::ofstream outputFile(outPath.toLocal8Bit(), std::ios::out | std::ios::trunc); if (!outputFile) diff --git a/common/guiddatabase.h b/common/guiddatabase.h index bee71ae..1ebadca 100644 --- a/common/guiddatabase.h +++ b/common/guiddatabase.h @@ -35,6 +35,6 @@ typedef std::map GuidDatabase; UString guidDatabaseLookup(const EFI_GUID & guid); void initGuidDatabase(const UString & path = "", UINT32* numEntries = NULL); GuidDatabase guidDatabaseFromTreeRecursive(TreeModel * model, const UModelIndex index); -USTATUS guidDatabseExportToFile(const UString & outPath, GuidDatabase & db); +USTATUS guidDatabaseExportToFile(const UString & outPath, GuidDatabase & db); #endif // GUID_DATABASE_H