Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix broken g and v commands. - sam - An updated version of the sam text editor.
git clone git://vernunftzentrum.de/sam.git
Log
Files
Refs
LICENSE
---
commit 078d234601dbb4122149ad46dbd9b2cf5c67a938
parent c2dc0bc20739803cac5d1c9ab450f32734c56fe7
Author: Rob King <[email protected]>
Date: Fri, 23 Sep 2016 09:21:18 -0500
Fix broken g and v commands.
Credit for this fix goes to Tommy Pettersson.
Diffstat:
sam/xec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/sam/xec.c b/sam/xec.c
@@ -133,7 +133,7 @@ g_cmd(File *f, Cmd *cp)
{
if(f!=addr.f)panic("g_cmd f!=addr.f");
compile(cp->re);
- if(execute(f, addr.r.p1, (addr.r.p2 ^ cp->cmdc)=='v')){
+ if(execute(f, addr.r.p1, addr.r.p2) ^ (cp->cmdc =='v')){
f->dot = addr;
return cmdexec(f, cp->ccmd);
}
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.