mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
cleare version of get_videoflip
This commit is contained in:
@@ -156,9 +156,8 @@ bool get_lowest_port (char *str, unsigned short *n) {
|
||||
}
|
||||
|
||||
bool get_videoflip (char *str, videoflip_t *videoflip) {
|
||||
char c = str[0];
|
||||
if (strlen(str) > 1) return false;
|
||||
switch (c) {
|
||||
switch (str[0]) {
|
||||
case 'L':
|
||||
*videoflip = LEFT;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user