From: Michael D. Lowis Date: Fri, 18 Nov 2016 18:54:37 +0000 (-0500) Subject: fixed erroneous change X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=640b91cd03924c5710aadb99f481722223f11cf8;p=projs%2Ftide.git fixed erroneous change --- diff --git a/xedit.c b/xedit.c index bf62d71..3a2ade2 100644 --- a/xedit.c +++ b/xedit.c @@ -148,8 +148,8 @@ static void cut(void) { } static void copy(void) { - if (str && *str) char* str = view_getstr(currview(), NULL); + if (str && *str) cmdwrite(CopyCmd, str); free(str); }