Skip to content

Commit e2d1853

Browse files
Indentation fix
1 parent 9a36553 commit e2d1853

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/flutter-pi.c

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,23 +1838,23 @@ static int init_application(void) {
18381838
free(libflutter_engine_path);
18391839

18401840
if (libflutter_engine_handle == NULL) {
1841-
if (flutterpi.flutter.runtime_mode == kRelease) {
1842-
libflutter_engine_handle = dlopen("libflutter_engine.so.release", RTLD_LOCAL | RTLD_NOW);
1843-
if (libflutter_engine_handle == NULL) {
1844-
LOG_ERROR("Warning: Could not load libflutter_engine.so.release. dlopen: %s. Trying to open libflutter_engine.so...\n", dlerror());
1845-
}
1846-
} else if (flutterpi.flutter.runtime_mode == kProfile) {
1847-
libflutter_engine_handle = dlopen("libflutter_engine.so.profile", RTLD_LOCAL | RTLD_NOW);
1848-
if (libflutter_engine_handle == NULL) {
1849-
LOG_ERROR("Warning: Could not load libflutter_engine.so.profile. dlopen: %s. Trying to open libflutter_engine.so...\n", dlerror());
1850-
}
1851-
} else if (flutterpi.flutter.runtime_mode == kDebug) {
1852-
libflutter_engine_handle = dlopen("libflutter_engine.so.debug", RTLD_LOCAL | RTLD_NOW);
1853-
if (libflutter_engine_handle == NULL) {
1854-
LOG_ERROR("Warning: Could not load libflutter_engine.so.debug. dlopen: %s. Trying to open libflutter_engine.so...\n", dlerror());
1841+
if (flutterpi.flutter.runtime_mode == kRelease) {
1842+
libflutter_engine_handle = dlopen("libflutter_engine.so.release", RTLD_LOCAL | RTLD_NOW);
1843+
if (libflutter_engine_handle == NULL) {
1844+
LOG_ERROR("Warning: Could not load libflutter_engine.so.release. dlopen: %s. Trying to open libflutter_engine.so...\n", dlerror());
1845+
}
1846+
} else if (flutterpi.flutter.runtime_mode == kProfile) {
1847+
libflutter_engine_handle = dlopen("libflutter_engine.so.profile", RTLD_LOCAL | RTLD_NOW);
1848+
if (libflutter_engine_handle == NULL) {
1849+
LOG_ERROR("Warning: Could not load libflutter_engine.so.profile. dlopen: %s. Trying to open libflutter_engine.so...\n", dlerror());
1850+
}
1851+
} else if (flutterpi.flutter.runtime_mode == kDebug) {
1852+
libflutter_engine_handle = dlopen("libflutter_engine.so.debug", RTLD_LOCAL | RTLD_NOW);
1853+
if (libflutter_engine_handle == NULL) {
1854+
LOG_ERROR("Warning: Could not load libflutter_engine.so.debug. dlopen: %s. Trying to open libflutter_engine.so...\n", dlerror());
1855+
}
18551856
}
18561857
}
1857-
}
18581858

18591859
if (libflutter_engine_handle == NULL) {
18601860
libflutter_engine_handle = dlopen("libflutter_engine.so", RTLD_LOCAL | RTLD_NOW);

0 commit comments

Comments
 (0)