[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [2/3] cmd: Avoid checking whether we're in console mode for every
From: Eric Pouech <eric.pouech () orange ! fr>
Date: 2011-09-28 19:30:14
Message-ID: 4E8375C6.2040001 () orange ! fr
[Download RAW message or body]
Le 28/09/2011 01:01, Frédéric Delanoy a écrit :
> ---
> programs/cmd/batch.c | 9 ++++-----
> programs/cmd/builtins.c | 4 ++--
> programs/cmd/wcmd.h | 5 +++--
> programs/cmd/wcmdmain.c | 21 +++++++++++++--------
> 4 files changed, 22 insertions(+), 17 deletions(-)
actually, console handles have their 2 lower bit set
you could use it to even simplify further the code
A+
--
Eric Pouech
"The problem with designing something completely foolproof is to underestimate the \
ingenuity of a complete idiot." (Douglas Adams)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic