mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-21 11:16:38 +02:00
dev->filename moved to a pointer.
git-svn-id: file:///home/jj/hercules.svn/trunk@7700 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
3
panel.c
3
panel.c
@@ -1693,7 +1693,8 @@ static void NP_update(REGS *regs)
|
||||
if (i >= cons_rows - 3) break;
|
||||
if (!dev->allocated) continue;
|
||||
|
||||
online = (dev->console && dev->connected) || strlen(dev->filename) > 0;
|
||||
online = (dev->console && dev->connected) ||
|
||||
( dev->filename != NULL && strlen(dev->filename) > 0 );
|
||||
busy = dev->busy != 0 || IOPENDING(dev) != 0;
|
||||
open = dev->fd > 2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user