diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.c.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in index a83aab58a..1dbe349ef 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -1990,7 +1990,9 @@ static int wsToEol(const char *z){ */ static void eqp_append(ShellState *p, int iEqpId, int p2, const char *zText){ EQPGraphRow *pNew; - i64 nText = strlen(zText); + i64 nText; + if( zText==0 ) return; + nText = strlen(zText); if( p->autoEQPtest ){ utf8_printf(p->out, "%d,%d,%s\n", iEqpId, p2, zText); } |