On Sat, 7 Feb 2004, Arkady V.Belousov wrote:
> Hi!
>
> 6-���-2004 12:56 [EMAIL PROTECTED]:
>
> > +++ task.c 6 Feb 2004 20:55:55 -0000 1.35
> > + if (drive)
> > + drive--; /* 0 = A:, 1 = B:, ... */
> > + else
> > + drive = default_drive;
>
> if (drive == 0)
> drive = default_drive + 1;
> drive--;
If you like to save 1 byte, then I can save another one
drive--;
if ((int)drive < 0)
drive = default_drive;
The question is why? Next time the compiler does it all differently than
what we naively expect...
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel