Numbers in parentheses refer to SourceForge.net tracker item numbers (#XXXXX) or
to Subversion revision numbers (rXXXXX).
+WinMerge 2.8 Release Candidate?
+ BugFix: Copy&Paste from VB6 added binary chars (#1904355)
+
WinMerge 2.7.7.6 - 2008-02-28 (r5099)
Remove sintance.h/sintance.cpp as not compatible with GPL (#1886580)
Automatically switch to mixed-EOL mode when loading files with
GlobalUnlock (hData);
UINT fmt = GetClipTcharTextFormat();
bOK = SetClipboardData (fmt, hData) != NULL;
+ if (bOK)
+ SetClipboardData (RegisterClipboardFormat (_T("WinMergeClipboard")), NULL);
}
CloseClipboard ();
}
memcpy(text.GetBufferSetLength(cchText), pszData, cbData);
GlobalUnlock (hData);
bSuccess = TRUE;
+ BOOL bWinMergeClipboardFormat = FALSE;
+ UINT nFormat = 0;
+ UINT nWinMergeClipboardFormat = RegisterClipboardFormat (_T("WinMergeClipboard"));
+ while (nFormat = EnumClipboardFormats (nFormat))
+ {
+ if (nFormat == nWinMergeClipboardFormat)
+ bWinMergeClipboardFormat = TRUE;
+ }
+ if (!bWinMergeClipboardFormat)
+ {
+ // truncate the data after the first null
+ CString tmp = (LPCTSTR)text;
+ text = tmp;
+ }
}
}
CloseClipboard ();