mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
21 lines
876 B
Diff
21 lines
876 B
Diff
|
diff --git a/app/src/cli.c b/app/src/cli.c
|
||
|
index f57b75efc..fd4525f55 100644
|
||
|
--- a/app/src/cli.c
|
||
|
+++ b/app/src/cli.c
|
||
|
@@ -2154,7 +2154,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
|
||
|
return false;
|
||
|
}
|
||
|
break;
|
||
|
- case OPT_ORIENTATION:
|
||
|
+ case OPT_ORIENTATION: {
|
||
|
enum sc_orientation orientation;
|
||
|
if (!parse_orientation(optarg, &orientation)) {
|
||
|
return false;
|
||
|
@@ -2162,6 +2162,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
|
||
|
opts->display_orientation = orientation;
|
||
|
opts->record_orientation = orientation;
|
||
|
break;
|
||
|
+ }
|
||
|
case OPT_RENDER_DRIVER:
|
||
|
opts->render_driver = optarg;
|
||
|
break;
|