Make sure to update current layer on b command. - sam - An updated version of t… | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 675674530d0371c1d64353df951a74a4dbb971c3 | |
parent f32e34134798a50a907602de6a1348dbde975626 | |
Author: Rob King <[email protected]> | |
Date: Thu, 26 May 2016 22:27:54 -0500 | |
Make sure to update current layer on b command. | |
Diffstat: | |
samterm/mesg.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/samterm/mesg.c b/samterm/mesg.c | |
@@ -8,6 +8,7 @@ | |
#include "samterm.h" | |
extern char *exname; | |
+extern Flayer *flast; | |
#define HSIZE 3 /* Type + short count */ | |
Header h; | |
@@ -140,6 +141,7 @@ inmesg(Hmesg type, int count) | |
flupfront(lp); | |
flborder(lp, 0); | |
work = lp; | |
+ flast = lp; | |
}else | |
current(lp); | |
break; |