Ticket #1900: osd_error.patch
File osd_error.patch, 604 bytes (added by , 18 years ago) |
---|
-
libs/libmythtv/osd.cpp
1927 1927 while (text); 1928 1928 1929 1929 int numoptions = options.size(); 1930 1931 if (availoptions < numoptions) 1932 { 1933 VERBOSE(VB_IMPORTANT, QString("Theme allows %1 options, " 1934 "menu contains %2 options").arg(availoptions).arg(numoptions)); 1935 return; 1936 } 1937 1930 1938 int offset = availoptions - numoptions; 1931 1939 initial_selection = max(min(numoptions - 1, initial_selection), 0);