Skip to content

Commit

Permalink
Future proof logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Nov 7, 2024
1 parent 7cfcd14 commit 4fbb22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flipper_application/flipper_application.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ static bool flipper_application_process_manifest_section(
storage_file_read(file, manifest, size) == size;

// Default flags when loading OFW manifests that don't include flags
if(result && size == sizeof(FlipperApplicationManifestOfw)) {
if(result && size < sizeof(FlipperApplicationManifestEx)) {
manifest->flags = FlipperApplicationFlagDefault;
}

Expand Down

0 comments on commit 4fbb22b

Please sign in to comment.