From 43d27006ce7dc4ae1eda8b83e21ab1d8cc8aa816 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 6 Jun 2019 13:51:56 +0200 Subject: [PATCH] Rewrite '== true' in our own code --- gfx/video_crt_switch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/video_crt_switch.c b/gfx/video_crt_switch.c index 4092e1be1c..cf35952fd1 100644 --- a/gfx/video_crt_switch.c +++ b/gfx/video_crt_switch.c @@ -183,7 +183,7 @@ void crt_switch_res_core(unsigned width, unsigned height, { /* ra_core_hz float passed from within * void video_driver_monitor_adjust_system_rates(void) */ - if (width == 4 ) + if (width == 4) { width = 320; height = 240; @@ -192,7 +192,7 @@ void crt_switch_res_core(unsigned width, unsigned height, ra_core_height = height; ra_core_hz = hz; - if (dynamic == true) + if (dynamic) ra_core_width = crt_compute_dynamic_width(width); else ra_core_width = width;