From a65c3e885021c6bd939ee0cbb4509b417ef898f2 Mon Sep 17 00:00:00 2001 From: anbr Date: Sun, 21 Jun 2009 09:11:24 +0200 Subject: fix double write on shutdown --- imon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imon.h') diff --git a/imon.h b/imon.h index 6e38217..513eef2 100644 --- a/imon.h +++ b/imon.h @@ -122,7 +122,7 @@ public: virtual int open(const char* szDevice, eProtocol pro); virtual void close (); - + bool isopen() const { return imon_fd >= 0; } void clear (); int DrawText(int x, int y, const char* string); bool flush (); -- cgit v1.2.3