winmm: Parse MCI colon notation as in T:MM:SS:F.
Alexandre Julliard
julliard at winehq.org
Thu Jan 26 12:22:19 CST 2012
Joerg-Cyril.Hoehle at t-systems.com writes:
> + if (seen < 2) return FALSE;
> + if (shift && (val >= 256 || (seen&1))) return FALSE;
> + total |= val << shift;
> + *data = (seen&1) ? -total : total;
> + *ptr = ret;
> + return TRUE;
This is still fairly ugly. If you need two flags, declare two flag
variables, instead of that sort of counter/flag mix.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list