bug 209496 "Paste is not possible after a "Cut" on GTK2 build"

r = jerry.tan
sr = blizzard
This commit is contained in:
louie.zhao%sun.com 2003-09-24 06:46:43 +00:00
parent 0d5836205b
commit 4bcb9d6605

View File

@ -354,7 +354,7 @@ nsClipboard::HasDataMatchingFlavors(nsISupportsArray *aFlavorList,
}
for (PRInt32 j = 0; j < n_targets; j++) {
gchar *atom_name = gdk_atom_name(targets[i]);
gchar *atom_name = gdk_atom_name(targets[j]);
if (!strcmp(atom_name, (const char *)myStr))
*_retval = PR_TRUE;