View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001787 | Far Manager | Plugins API.Old API Wrapper | public | 2011-05-31 15:59 | 2011-05-31 16:25 |
Reporter | Maximus | Assigned To | DrKnS | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.0 | ||||
Fixed in Version | 3.0 | ||||
Summary | 0001787: Ошибка Ansi враппера (ACTL_GETWINDOWINFO) | ||||
Description | Структура неправильно инициализируется | ||||
Tags | No tags attached. | ||||
Build | 2060 | ||||
|
PluginA.diff (472 bytes)
Index: PluginA.cpp =================================================================== --- PluginA.cpp (revision 6300) +++ PluginA.cpp (working copy) @@ -3604,7 +3604,8 @@ return FALSE; oldfar::WindowInfo *wiA = (oldfar::WindowInfo *)Param; - WindowInfo wi={wiA->Pos}; + WindowInfo wi={sizeof(WindowInfo)}; + wi.Pos = wiA->Pos; INT_PTR ret = NativeInfo.AdvControl(GetPluginGuid(ModuleNumber), ACTL_GETWINDOWINFO, 0, &wi); if (ret) |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-05-31 15:59 | Maximus | New Issue | |
2011-05-31 15:59 | Maximus | File Added: PluginA.diff | |
2011-05-31 16:25 | DrKnS | Build | => 2060 |
2011-05-31 16:25 | DrKnS | Status | new => closed |
2011-05-31 16:25 | DrKnS | Assigned To | => DrKnS |
2011-05-31 16:25 | DrKnS | Resolution | open => fixed |
2011-05-31 16:25 | DrKnS | Fixed in Version | => 3.0 |