diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2013-05-05 12:53:36 +0200 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2013-05-05 12:53:36 +0200 |
commit | 55d6c9551e13b108947410d7bf50b6ba2c01b633 (patch) | |
tree | 992992cd5f8de4461829efd0c000c4b09c595412 /heimdall-frontend/Source | |
parent | Changed Arguments.h constructors with default parameters so it compiles with clang. (diff) | |
download | Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar.gz Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar.bz2 Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar.lz Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar.xz Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar.zst Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.zip |
Diffstat (limited to 'heimdall-frontend/Source')
-rw-r--r-- | heimdall-frontend/Source/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heimdall-frontend/Source/mainwindow.cpp b/heimdall-frontend/Source/mainwindow.cpp index 281fd77..862dc5a 100644 --- a/heimdall-frontend/Source/mainwindow.cpp +++ b/heimdall-frontend/Source/mainwindow.cpp @@ -102,7 +102,7 @@ void MainWindow::UpdateUnusedPartitionIds(void) {
const PitEntry *pitEntry = currentPitData.GetEntry(i);
- if (pitEntry->GetBlockCount() > 0 && strcmp(pitEntry->GetPartitionName(), "PIT") != 0 && strcmp(pitEntry->GetPartitionName(), "PT") != 0)
+ if (pitEntry->IsFlashable() && strcmp(pitEntry->GetPartitionName(), "PIT") != 0 && strcmp(pitEntry->GetPartitionName(), "PT") != 0)
unusedPartitionIds.append(pitEntry->GetIdentifier());
}
|