From 0184dc991cc830df185cb93de943f86243438bbd Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Mon, 21 Mar 2016 11:34:45 +0100 Subject: [PATCH] Small fix for ffsBuilder -found by static analysis --- common/ffsbuilder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/ffsbuilder.cpp b/common/ffsbuilder.cpp index 20528e1..b3befea 100644 --- a/common/ffsbuilder.cpp +++ b/common/ffsbuilder.cpp @@ -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); } }