Bugs item #1584113, was opened at 2006-10-24 18:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1584113&group_id=2439
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: BUG A 1.7.1 SCI_GETLINE
Initial Comment:
long lLen = SendMessage(SCI_LINELENGTH,line,0) ;
if (lLen > 0)
{
TCHAR *p = new TCHAR[lLen+1];
if (p != NULL)
{
*p = '\0';
SendMessage(SCI_GETLINE, line, (long)p);
CString strReturn =p;
delete [] p;
return strReturn;
}
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1584113&group_id=2439
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest