Ticket #1389: licq_1.3.4-rc1_format_date_2_loki.patch

File licq_1.3.4-rc1_format_date_2_loki.patch, 403 bytes (added by Loki, 2 years ago)

a small patch to licq_1.3.4-rc1_format_date patch which fixes "Date Format" first element matching if first element is selected.

  • optionsdlg.cpp

     
    211211  chkMsgChatView->setChecked(mainwin->m_bMsgChatView); 
    212212 
    213213  unsigned short int isCustomDate = 1; 
    214   for (int i = 1; i < cmbDateFormat->count(); i++) 
     214  for (int i = 0; i < cmbDateFormat->count(); i++) 
    215215  { 
    216216    if (cmbDateFormat->text(i) == mainwin->m_nDateFormat) 
    217217    {