aboutsummaryrefslogtreecommitdiff
path: root/common/stringop.c
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-08-19 13:02:55 +0200
committerSimon Ser <contact@emersion.fr>2024-09-20 19:44:03 +0200
commitb1c2155a8ec86e042bc23b949e07066fe8eacf56 (patch)
treef7e03f43e1932c36f60c840f5127f2dee9c2d2b3 /common/stringop.c
parent234f18d357875c2baee083f6a7ca85ff3abdaae9 (diff)
config/output: Skip search if config has a mode
When doing an output configuration search, the intent is to only look for modes if the output's configuration does not contain a specific mode. This was done by testing if config_has_auto_mode returned false. config_has_auto_mode had its return values backwards, leading to other modes being tested if the output configuration had specified modes or modelines, leading to unwanted modes being selected. Invert the function to config_has_manual_mode to give it a clearer name, and fix the return values in the process. (cherry picked from commit f9c0f043e5ec39574c9d9b0fb3dece6169a0e67d)
Diffstat (limited to 'common/stringop.c')
0 files changed, 0 insertions, 0 deletions