Subversion Repositories Games.Chess Giants

Rev

Rev 33 | Rev 40 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 39
Line 422... Line 422...
422
      }
422
      }
423
 
423
 
424
      // else is it a notification for the engine droplist ?
424
      // else is it a notification for the engine droplist ?
425
      else if (wParam_loword == COMBOBOX_ENGINE)
425
      else if (wParam_loword == COMBOBOX_ENGINE)
426
      {
426
      {
427
         ComboBox_GetLBText (TabControl_GetItem (tab_control, COMBOBOX_ENGINE), ComboBox_GetCurSel (TabControl_GetItem (tab_control, COMBOBOX_ENGINE)), options.engine.program);
427
         ComboBox_GetLBText (TabControl_GetItem (tab_control, COMBOBOX_ENGINE), ComboBox_GetCurSel (TabControl_GetItem (tab_control, COMBOBOX_ENGINE)), temp_string);
-
 
428
         if (wcscmp (temp_string, options.engine.program) != 0)
-
 
429
         {
-
 
430
            wcscpy_s (options.engine.program, temp_string);
-
 
431
            MessageBox (hWnd, LOCALIZE (L"Options_RestartNeeded"), LOCALIZE (L"ImportantMessage"), MB_ICONINFORMATION | MB_OK);
-
 
432
         }
428
      }
433
      }
429
   }
434
   }
430
 
435
 
431
   // else is it a notification for a slider moving ?
436
   // else is it a notification for a slider moving ?
432
   else if (message == WM_HSCROLL)
437
   else if (message == WM_HSCROLL)