forked from github/server
another crash
This commit is contained in:
parent
f8a21ec386
commit
a473991f67
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ current_region(void)
|
||||||
static tag *
|
static tag *
|
||||||
next_tag(int hash, const state * st)
|
next_tag(int hash, const state * st)
|
||||||
{
|
{
|
||||||
while (hash!=MAXTHASH) {
|
while (st && hash!=MAXTHASH) {
|
||||||
tag * t = st->selected->tags[hash];
|
tag * t = st->selected->tags[hash];
|
||||||
if (t!=NULL) return t;
|
if (t!=NULL) return t;
|
||||||
++hash;
|
++hash;
|
||||||
|
|
Loading…
Reference in a new issue