View Issue Details

IDProjectCategoryView StatusLast Update
0001787Far ManagerPlugins API.Old API Wrapperpublic2011-05-31 16:25
ReporterMaximus Assigned ToDrKnS  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0 
Fixed in Version3.0 
Summary0001787: Ошибка Ansi враппера (ACTL_GETWINDOWINFO)
DescriptionСтруктура неправильно инициализируется
TagsNo tags attached.
Build2060

Activities

Maximus

2011-05-31 15:59

reporter  

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)
PluginA.diff (472 bytes)   

Issue History

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