Rev 184 | Rev 192 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 184 | Rev 185 | ||
|---|---|---|---|
| Line 103... | Line 103... | ||
| 103 | 103 | ||
| 104 |    // [engine] | 
            104 |    // [engine] | 
          
| 105 | Config_LoadEngines (); // discover all engine parameters from the engines folder  | 
            105 | Config_LoadEngines (); // discover all engine parameters from the engines folder  | 
          
| 106 | for (program_index = 0; program_index < options.engine.program_count; program_index++)  | 
            106 | for (program_index = 0; program_index < options.engine.program_count; program_index++)  | 
          
| 107 |    { | 
            107 |    { | 
          
| 108 | READ_WIDESTRING (temp_string, inifile, L"engine", L"program", L"  | 
            108 | READ_WIDESTRING (temp_string, inifile, L"engine", L"program", L"Stockfish");  | 
          
| 109 | if (_wcsicmp (temp_string, options.engine.programs[program_index].folder) == 0)  | 
            109 | if (_wcsicmp (temp_string, options.engine.programs[program_index].folder) == 0)  | 
          
| 110 | break; // identify the preferred engine, break as soon as we find it  | 
            110 | break; // identify the preferred engine, break as soon as we find it  | 
          
| 111 |    } | 
            111 |    } | 
          
| 112 | options.engine.selected_program = (program_index < options.engine.program_count ? program_index : 0); // consistency check  | 
            112 | options.engine.selected_program = (program_index < options.engine.program_count ? program_index : 0); // consistency check  | 
          
| 113 | options.engine.depth = INIFile_ReadEntryAsLong (inifile, L"engine", L"allowed depth", 10);  | 
            113 | options.engine.depth = INIFile_ReadEntryAsLong (inifile, L"engine", L"allowed depth", 10);  |