commit | d306b6b5e901f02c52bb2596b855e4d03a43e650 | [log] [tgz] |
---|---|---|
author | Dylan Smith <dylan.ah.smith@gmail.com> | Sat Feb 07 13:21:03 2009 -0500 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Feb 09 13:05:12 2009 +0100 |
tree | 3b9b24d22e59fdae8c892893d7e16747baf3b6c7 | |
parent | 4b7e8f185b223c7c712f4102b91ef64877a58053 [diff] |
richedit: Removed some conditions that are always taken. ME_GetCursorCoordinates had two conditions that were always taken. The first condition was if(pCursor->pRun->type == diRun) was following an assertion making the exact same check. The next one, if(row), should always be taken, otherwise the richedit controls are in a corrupt state, therefore an assertion is more appropriate.