]> git.mdlowis.com Git - projs/tide.git/commitdiff
fixed erroneous change
authorMichael D. Lowis <mike.lowis@gentex.com>
Fri, 18 Nov 2016 18:54:37 +0000 (13:54 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Fri, 18 Nov 2016 18:54:37 +0000 (13:54 -0500)
xedit.c

diff --git a/xedit.c b/xedit.c
index bf62d71ab7da8ef2ba5aa6bcf243f17158a52ee5..3a2ade2e7f36624924a9cdea38169eaf2d77a925 100644 (file)
--- 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);
 }