Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Jan 7, 2019
1 parent d16c438 commit 40b77a7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions UEFITool/uefitool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down
2 changes: 1 addition & 1 deletion UEFITool/uefitool.ui
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@
<bool>false</bool>
</property>
<property name="text">
<string>Export discovered GUIDs</string>
<string>Export discovered GUIDs...</string>
</property>
</action>
</widget>
Expand Down
2 changes: 1 addition & 1 deletion common/guiddatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion common/guiddatabase.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ typedef std::map<EFI_GUID, UString, OperatorLessForGuids> 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

0 comments on commit 40b77a7

Please sign in to comment.