neutrino.cpp: add channellist_numeric_adjust settings variable

Origin commit data
------------------
Commit: b1d63cd800
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-04-01 (Mon, 01 Apr 2013)
This commit is contained in:
[CST] Focus
2013-04-01 14:13:51 +04:00
parent 1a76a360bc
commit c8370d109c
2 changed files with 3 additions and 0 deletions

View File

@@ -623,6 +623,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.channellist_foot = configfile.getInt32("channellist_foot" , 1);//default next Event
g_settings.channellist_new_zap_mode = configfile.getInt32("channellist_new_zap_mode", 1);
g_settings.channellist_sort_mode = configfile.getInt32("channellist_sort_mode", 0);//sort mode: alpha, freq, sat
g_settings.channellist_numeric_adjust = configfile.getInt32("channellist_numeric_adjust", 0);
//screen configuration
g_settings.screen_xres = configfile.getInt32("screen_xres", 100);
@@ -1060,6 +1061,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
configfile.setInt32("remote_control_hardware", g_settings.remote_control_hardware);
configfile.setBool ( "audiochannel_up_down_enable", g_settings.audiochannel_up_down_enable );
configfile.setInt32("channellist_sort_mode", g_settings.channellist_sort_mode);
configfile.setInt32("channellist_numeric_adjust", g_settings.channellist_numeric_adjust);
//screen configuration
configfile.setInt32( "screen_xres", g_settings.screen_xres);

View File

@@ -436,6 +436,7 @@ struct SNeutrinoSettings
int channellist_foot;
int channellist_new_zap_mode;
int channellist_sort_mode;
int channellist_numeric_adjust;
char repeat_blocker[4];
char repeat_genericblocker[4];
int remote_control_hardware;