fixed a bug in clipboard conversion (was using wrong converter or

no converter when one was available).
This commit is contained in:
crs 2002-07-23 18:59:44 +00:00
parent 7129efc9ab
commit 7d7b7f85ca
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ CMSWindowsClipboard::get(EFormat format) const
// find the converter for the first clipboard format we can handle
IMSWindowsClipboardConverter* converter = NULL;
UINT win32Format = EnumClipboardFormats(0);
while (win32Format != 0) {
while (converter == NULL && win32Format != 0) {
for (ConverterList::const_iterator index = m_converters.begin();
index != m_converters.end(); ++index) {
converter = *index;