Permalink
Browse files

Fix fence post error in 516719a

  • Loading branch information...
stuartm committed May 29, 2013
1 parent 7030916 commit ec3a978eec841652993147940472c9a059c2c14b
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythui/util-nvctrl.cpp
@@ -274,7 +274,7 @@ int GetNvidiaRates(t_screenrate& screenmap)
{
int w, h, vfl, hfl, i, irate;
double dcl, r;
char *buf[8] = {NULL};
char *buf[9] = {NULL};
uint64_t key, key2;
// skip name
@@ -289,7 +289,7 @@ int GetNvidiaRates(t_screenrate& screenmap)
{
buf[i++] = modeString;
if (i == 9) // We're only interested in the first 8 tokens
if (i == 9) // We're only interested in the first 9 tokens [0 ... 8]
break;
}

0 comments on commit ec3a978

Please sign in to comment.