зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a0c7c6814f
Коммит
86d4d4a62f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче