rtoss

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/ @ 311  →  / @ 312
/16Edit/HexEditWnd.cpp
@@ -3044,10 +3044,12 @@
int len;
 
pData = (char *)::GetClipboardData(CF_TEXT);
len = strlen(pData);
pcbd = (PHE_CLIPBOARD_DATA)malloc(len + 4);
pcbd->dwDataSize = len;
memcpy(&pcbd->byDataStart, pData, len);
if(pData) {
len = strlen(pData);
pcbd = (PHE_CLIPBOARD_DATA)malloc(len + 4);
pcbd->dwDataSize = len;
memcpy(&pcbd->byDataStart, pData, len);
}
}
CloseClipboard();
return pcbd;