View Issue Details

IDProjectCategoryView StatusLast Update
0001822Far ManagerGrabberpublic2011-07-03 22:01
ReporterMaximusAssigned ToDrKnS 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.0 
Target VersionFixed in Version3.0 
Summary0001822: Поломался grabber
DescriptionСчитывалась только часть буфера
TagsNo tags attached.
Build2094

Activities

Maximus

2011-07-03 21:48

reporter  

Grabber110703.diff (513 bytes)
Index: grabber.cpp
===================================================================
--- grabber.cpp	(revision 6399)
+++ grabber.cpp	(working copy)
@@ -101,7 +101,7 @@
 	FAR_CHAR_INFO* CharBuf=new FAR_CHAR_INFO[BufSize], *PtrCharBuf;
 	wchar_t *CopyBuf=(wchar_t *)xf_malloc(BufSize*sizeof(wchar_t)), *PtrCopyBuf;
 	WORD Chr;
-	GetText(X1,Y1,X2,Y2,CharBuf,BufSize*sizeof(CHAR_INFO));
+	GetText(X1,Y1,X2,Y2,CharBuf,BufSize*sizeof(*CharBuf));
 	*CopyBuf=0;
 	PtrCharBuf=CharBuf;
 	PtrCopyBuf=CopyBuf;
Grabber110703.diff (513 bytes)

Issue History

Date Modified Username Field Change
2011-07-03 21:48 Maximus New Issue
2011-07-03 21:48 Maximus File Added: Grabber110703.diff
2011-07-03 22:01 DrKnS Build => 2094
2011-07-03 22:01 DrKnS Status new => closed
2011-07-03 22:01 DrKnS Assigned To => DrKnS
2011-07-03 22:01 DrKnS Resolution open => fixed
2011-07-03 22:01 DrKnS Fixed in Version => 3.0
2015-01-18 20:01 DrKnS Category Graber => Grabber