Small fix for ffsBuilder

-found by static analysis
This commit is contained in:
Nikolaj Schlej 2016-03-21 11:34:45 +01:00
parent 1f54d73f8c
commit 0184dc991c

View File

@ -1,4 +1,4 @@
/* fssbuilder.cpp /* fssbuilder.cpp
Copyright (c) 2015, Nikolaj Schlej. All rights reserved. Copyright (c) 2015, Nikolaj Schlej. All rights reserved.
This program and the accompanying materials This program and the accompanying materials
@ -60,7 +60,7 @@ STATUS FfsBuilder::build(const QModelIndex & root, QByteArray & image)
if (model->subtype(root) == Subtypes::IntelImage) { if (model->subtype(root) == Subtypes::IntelImage) {
return buildIntelImage(root, image); return buildIntelImage(root, image);
} }
else if (model->subtype(root) == Subtypes::IntelImage) { else if (model->subtype(root) == Subtypes::UefiImage) {
return buildRawArea(root, image); return buildRawArea(root, image);
} }
} }