mirror of
https://github.com/Genymobile/scrcpy.git
synced 2024-09-19 05:31:21 +02:00
Many parsing and formatting C functions like strtof() and asprintf() are locale-dependent. Forcing a C locale just for the conversions in a way that works on all platforms is a mess. In practice, this is not a problem, scrcpy always uses the C locale, because it never calls: setlocale(LC_ALL, ""); But the max-fps option should not depend on the locale configuration anyway. Since the value is parsed by the client in Java anyway, just forward the string value as is. |
||
---|---|---|
.. | ||
test_adb_parser.c | ||
test_audiobuf.c | ||
test_binary.c | ||
test_cli.c | ||
test_control_msg_serialize.c | ||
test_device_msg_deserialize.c | ||
test_orientation.c | ||
test_str.c | ||
test_strbuf.c | ||
test_vecdeque.c | ||
test_vector.c |