mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-10-18 04:30:33 -04:00
Small fix for ffsBuilder
-found by static analysis
This commit is contained in:
parent
1f54d73f8c
commit
0184dc991c
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* fssbuilder.cpp
|
||||
/* fssbuilder.cpp
|
||||
|
||||
Copyright (c) 2015, Nikolaj Schlej. All rights reserved.
|
||||
This program and the accompanying materials
|
||||
|
@ -60,7 +60,7 @@ STATUS FfsBuilder::build(const QModelIndex & root, QByteArray & image)
|
|||
if (model->subtype(root) == Subtypes::IntelImage) {
|
||||
return buildIntelImage(root, image);
|
||||
}
|
||||
else if (model->subtype(root) == Subtypes::IntelImage) {
|
||||
else if (model->subtype(root) == Subtypes::UefiImage) {
|
||||
return buildRawArea(root, image);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue