don't try to plot if we have no data

Ignore-this: 808c5f30dd3fabc33d6980dce972794

darcs-hash:20090827203223-0cb85-2e0d29077c97f12711a1899f0ae9086860a56da4.gz
This commit is contained in:
Dima Kogan 2009-08-27 13:32:23 -07:00
parent d7fd9db356
commit 5bf6539a9a

View File

@ -204,7 +204,7 @@ sub mainThread {
}
}
elsif($options{"stream"})
elsif($options{"stream"} && defined $xlast)
{
cutOld($xlast - $xwindow);
plotStoredData($xlast - $xwindow, $xlast);