myadm

Simple MySQL client for the terminal
git clone git://git.bitsmanent.org/myadm
Log | Files | Refs | README | LICENSE

commit d4f0b331125426e71a2602c4733cb3b5c042afc1
parent ccc50e801b251a69afad635a8334a417fb2bbf6e
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Tue,  1 Mar 2016 19:39:53 +0100

Fix a bug in setmode()

Diffstat:
Mcore.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core.c b/core.c @@ -189,7 +189,7 @@ setmode(const Arg *arg) { View *v; unsigned int i; - if(selview && !strcmp(arg->v, m->name)) + if(selview && selview->mode && !strcmp(selview->mode->name, m->name)) return; for(v = views; v; v = v->next) if(!strcmp(v->mode->name, m->name))