aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cg-limits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cg-limits.c b/src/cg-limits.c
index 5d9b05a..f3f0277 100644
--- a/src/cg-limits.c
+++ b/src/cg-limits.c
@@ -679,7 +679,7 @@ int start(void)
if (!strcasecmp(crtc_updates[i].filter.crtc, bnames[j]))
break;
for (k = 0; cnames[k] != NULL; k++)
- if (!strcasecmp(crtc_updates[k].filter.crtc, cnames[k]))
+ if (!strcasecmp(crtc_updates[i].filter.crtc, cnames[k]))
break;
if ((bnames[j] != NULL) || (cnames[k] != NULL))
{