[Bug 22287] Personal Chess Trainer v3.02, Run-time error '13': Type mismatch

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 6 07:08:11 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22287





--- Comment #1 from Jaime <jskartman at gmail.com>  2010-04-06 07:08:09 ---
reverting the patch mnually works!!

    case 0x3:  /* TTT TTTDD TTTDDD */
    /* REVERT PATCH
      if (dp.dwCount > 4 &&
          ((dp.dwFlags[3] & (DP_AM|DP_PM)) || (dp.dwFlags[4] & (DP_AM|DP_PM))
||
          (dp.dwFlags[5] & (DP_AM|DP_PM))))
        hRet = DISP_E_TYPEMISMATCH;
      else 
*/
      if (dp.dwCount != 3 && dp.dwCount != 5 && dp.dwCount != 6)
        hRet = DISP_E_TYPEMISMATCH;
      st.wHour   = dp.dwValues[0];
      st.wMinute = dp.dwValues[1];
      st.wSecond = dp.dwValues[2];
      dwOffset = 3;
      dp.dwCount -= 3;
      break;

--- Comment #2 from Jaime <jskartman at gmail.com>  2010-04-06 07:08:10 ---
reverting the patch mnually works!!

    case 0x3:  /* TTT TTTDD TTTDDD */
    /* REVERT PATCH
      if (dp.dwCount > 4 &&
          ((dp.dwFlags[3] & (DP_AM|DP_PM)) || (dp.dwFlags[4] & (DP_AM|DP_PM))
||
          (dp.dwFlags[5] & (DP_AM|DP_PM))))
        hRet = DISP_E_TYPEMISMATCH;
      else 
*/
      if (dp.dwCount != 3 && dp.dwCount != 5 && dp.dwCount != 6)
        hRet = DISP_E_TYPEMISMATCH;
      st.wHour   = dp.dwValues[0];
      st.wMinute = dp.dwValues[1];
      st.wSecond = dp.dwValues[2];
      dwOffset = 3;
      dp.dwCount -= 3;
      break;

--- Comment #3 from Jaime <jskartman at gmail.com>  2010-04-06 07:08:11 ---
reverting the patch mnually works!!

    case 0x3:  /* TTT TTTDD TTTDDD */
    /* REVERT PATCH
      if (dp.dwCount > 4 &&
          ((dp.dwFlags[3] & (DP_AM|DP_PM)) || (dp.dwFlags[4] & (DP_AM|DP_PM))
||
          (dp.dwFlags[5] & (DP_AM|DP_PM))))
        hRet = DISP_E_TYPEMISMATCH;
      else 
*/
      if (dp.dwCount != 3 && dp.dwCount != 5 && dp.dwCount != 6)
        hRet = DISP_E_TYPEMISMATCH;
      st.wHour   = dp.dwValues[0];
      st.wMinute = dp.dwValues[1];
      st.wSecond = dp.dwValues[2];
      dwOffset = 3;
      dp.dwCount -= 3;
      break;

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list