X-Git-Url: http://sigaev.ru/git/gitweb.cgi?p=hclip.git;a=blobdiff_plain;f=hclip.c;fp=hclip.c;h=55f0494eb30b762a6a7cfb9a5a3d6acbc62740e5;hp=7554316111f3166c4af2fbaabd907540fe927c05;hb=fc040ecab9f49543cbb531c43dc55578514a6f19;hpb=2ade90741f5ae65dc8c7c6be76c77191c8154966 diff --git a/hclip.c b/hclip.c index 7554316..55f0494 100644 --- a/hclip.c +++ b/hclip.c @@ -589,7 +589,8 @@ receiveTarget(GtkClipboard *clipboard, GdkAtom *atoms, gint n_atoms, gpointer da * request contents */ text = gtk_clipboard_wait_for_text(clipboard); - if (text) /* be carefull - world has a lot of unexpected events :) */ + /* be carefull - world has a lot of unexpected events :) */ + if (text) addMenuItem( (ClipboardDescr*)data, text ); }