View Issue Details

IDProjectCategoryView StatusLast Update
0001918Far ManagerFile associationspublic2011-10-27 11:26
ReporterMaximus Assigned ToDrKnS  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0 
Fixed in Version3.0 
Summary0001918: Фар валится при выборе "Standard association"
DescriptionЕсли при запуске файла отображается меню "Plugin selection" то при выборе пункта "Standard association" Far падает
TagsNo tags attached.
Build2250

Activities

Maximus

2011-10-26 22:31

reporter  

plugins.111026.diff (481 bytes)   
Index: plugins.cpp
===================================================================
--- plugins.cpp	(revision 6836)
+++ plugins.cpp	(working copy)
@@ -821,7 +821,11 @@
 			if (menu.GetExitCode() == -1)
 				hResult = (HANDLE)-2;
 			else
-				pResult = *static_cast<PluginHandle**>(menu.GetUserData(nullptr, 0));
+			{
+				void* pItem = menu.GetUserData(nullptr, 0);
+				if (pItem)
+					pResult = *static_cast<PluginHandle**>(pItem);
+			}
 		}
 		else
 		{
plugins.111026.diff (481 bytes)   

Issue History

Date Modified Username Field Change
2011-10-26 22:31 Maximus New Issue
2011-10-26 22:31 Maximus File Added: plugins.111026.diff
2011-10-27 11:02 DrKnS Assigned To => DrKnS
2011-10-27 11:02 DrKnS Status new => assigned
2011-10-27 11:26 DrKnS Build => 1918
2011-10-27 11:26 DrKnS Status assigned => closed
2011-10-27 11:26 DrKnS Resolution open => fixed
2011-10-27 11:26 DrKnS Fixed in Version => 3.0
2011-10-27 11:26 DrKnS Build 1918 => 2250