another crash

This commit is contained in:
Enno Rehling 2008-05-30 16:21:21 +00:00
parent f8a21ec386
commit a473991f67
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ current_region(void)
static tag *
next_tag(int hash, const state * st)
{
while (hash!=MAXTHASH) {
while (st && hash!=MAXTHASH) {
tag * t = st->selected->tags[hash];
if (t!=NULL) return t;
++hash;