Ticket #1900: osd_error.2.patch
File osd_error.2.patch, 597 bytes (added by , 18 years ago) |
---|
-
libs/libmythtv/osd.cpp
2024 2024 while (text); 2025 2025 2026 2026 int numoptions = options.size(); 2027 2028 if (availoptions < numoptions) 2029 { 2030 VERBOSE(VB_IMPORTANT, QString("Theme allows %1 options, " 2031 "menu contains %2 options").arg(availoptions).arg(numoptions)); 2032 return; 2033 } 2034 2027 2035 int offset = availoptions - numoptions; 2028 2036 initial_selection = max(min(numoptions - 1, initial_selection), 0); 2029 2037