Make sure we set the length in the case of a clipboard copy failure.

b=65070 r=pavlov r=blizzard
This commit is contained in:
colin%theblakes.com 2001-01-15 23:52:08 +00:00
Родитель a0c7c6814f
Коммит 86d4d4a62f
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -514,6 +514,7 @@ nsClipboard::SelectionReceiver (GtkWidget *aWidget,
#ifdef DEBUG_CLIPBOARD
g_print(" Error retrieving selection: length was %d\n", aSD->length);
#endif
mSelectionData.length = aSD->length;
return;
}