View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001769 | Far Manager | Dialog | public | 2011-05-16 07:23 | 2011-05-16 17:44 |
Reporter | Maximus | Assigned To | DrKnS | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 3.0 | ||||
Fixed in Version | 3.0 | ||||
Summary | 0001769: Ошибка в DM_EDITUNCHANGEDFLAG(id,-1) | ||||
Description | При Param2==-1 фар ошибочно включает флаг "Unchanged" для текстовых полей | ||||
Additional Information | как-то так Index: dialog.cpp =================================================================== --- dialog.cpp (revision 6216) +++ dialog.cpp (working copy) @@ -6199,7 +6212,7 @@ DlgEdit *EditLine=(DlgEdit *)(CurItem->ObjPtr); int ClearFlag=EditLine->GetClearFlag(); - if (Param2 >= 0) + if ((INT_PTR)Param2 >= 0) { EditLine->SetClearFlag(static_cast<int>(reinterpret_cast<INT_PTR>( Param2))); EditLine->Select(-1,0); // ёэшьрхь т√фхыхэшх | ||||
Tags | No tags attached. | ||||
Build | 2032 | ||||