From 4a75123eb143fa336ddd92c64922e34fe8604c3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 22 Jul 2024 09:23:06 +0800 Subject: [PATCH] Host (macOS): tidy --- src/detection/host/host_apple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detection/host/host_apple.c b/src/detection/host/host_apple.c index d1065d9b8..61a14e642 100644 --- a/src/detection/host/host_apple.c +++ b/src/detection/host/host_apple.c @@ -22,10 +22,10 @@ static const char* getProductNameWithHwModel(const FFstrbuf* hwModel) if(ffStrEquals(version, "18,1") || ffStrEquals(version, "18,2")) return "MacBook Pro (16-inch, 2021)"; if(ffStrEquals(version, "17,1")) return "MacBook Pro (13-inch, M1, 2020)"; - if(ffStrEquals(version, "16,4")) return "MacBook Pro (16-inch, 2019)"; if(ffStrEquals(version, "16,3")) return "MacBook Pro (13-inch, 2020, Two Thunderbolt 3 ports)"; if(ffStrEquals(version, "16,2")) return "MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)"; - if(ffStrEquals(version, "16,1")) return "MacBook Pro (16-inch, 2019)"; + if(ffStrEquals(version, "16,4") || + ffStrEquals(version, "16,1")) return "MacBook Pro (16-inch, 2019)"; if(ffStrEquals(version, "15,4")) return "MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports)"; if(ffStrEquals(version, "15,3")) return "MacBook Pro (15-inch, 2019)"; if(ffStrEquals(version, "15,2")) return "MacBook Pro (13-inch, 2018/2019, Four Thunderbolt 3 ports)";