Index: mythtv/libs/libmythui/util-nvctrl.cpp =================================================================== --- mythtv/libs/libmythui/util-nvctrl.cpp (revision 24387) +++ mythtv/libs/libmythui/util-nvctrl.cpp (working copy) @@ -152,7 +152,7 @@ /* now, parse each MetaMode */ str = start = pMetaModes; - for (j = 0; j < MetaModeLen; ++j) + for (j = 0; j < MetaModeLen - 1; ++j) { /* * if we found the end of a line, treat the string from