aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winclipboardwndproc.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-14 15:05:44 +0000
committermarha <marha@users.sourceforge.net>2009-09-14 15:05:44 +0000
commit248700c18b5ec849231f8d0d464b2a021bfbaef8 (patch)
tree928691dbf8a3724355c1bd58e3697af67f628248 /xorg-server/hw/xwin/winclipboardwndproc.c
parent493a8d159a08f852eadca7a23553e5ab69bb0ec6 (diff)
downloadvcxsrv-248700c18b5ec849231f8d0d464b2a021bfbaef8.tar.gz
vcxsrv-248700c18b5ec849231f8d0d464b2a021bfbaef8.tar.bz2
vcxsrv-248700c18b5ec849231f8d0d464b2a021bfbaef8.zip
Solved endless loop when copy/pasting.
Diffstat (limited to 'xorg-server/hw/xwin/winclipboardwndproc.c')
-rw-r--r--xorg-server/hw/xwin/winclipboardwndproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winclipboardwndproc.c b/xorg-server/hw/xwin/winclipboardwndproc.c
index 5c6410aa6..ea09f0e3a 100644
--- a/xorg-server/hw/xwin/winclipboardwndproc.c
+++ b/xorg-server/hw/xwin/winclipboardwndproc.c
@@ -466,7 +466,7 @@ winClipboardWindowProc (HWND hwnd, UINT message,
pDisplay,
fConvertToUnicode,
WIN_POLL_TIMEOUT);
- while (WIN_XEVENTS_CONVERT == iReturn)
+ if (WIN_XEVENTS_CONVERT == iReturn)
{
/*
* The selection was offered for conversion first, so we have