From 1af9f74ebc396b079587c06305aa7ad886a53e81 Mon Sep 17 00:00:00 2001 From: Yuri Safonov Date: Mon, 18 May 2015 07:06:27 +0000 Subject: Fix Issue #303 ("Snarf" and "Cut" get only the first symbol) --- emu/Nt/win.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'emu/Nt/win.c') diff --git a/emu/Nt/win.c b/emu/Nt/win.c index 4eb56f45..167b2787 100644 --- a/emu/Nt/win.c +++ b/emu/Nt/win.c @@ -752,7 +752,7 @@ int clipwrite(char *buf) { HANDLE h; - char *p, *e; + char *p; Rune *rp; int n; @@ -771,11 +771,7 @@ clipwrite(char *buf) if(h == NULL) error(Enovmem); rp = GlobalLock(h); - p = buf; - e = p+n; - while(p