[PATCH 1/2] winmm/tests: Add more mmioSeek tests.
Dmitry Timoshkov
dmitry at baikal.ru
Wed Nov 7 12:03:23 CST 2012
Akihiro Sagawa <sagawa.aki at gmail.com> wrote:
> +static void test_mmioSeek(void)
> +{
> + HMMIO hmmio;
> + MMIOINFO mmio;
> + LONG end, pos, size = sizeof(RIFF_buf), offset = 16;
> + char test_file[MAX_PATH];
> + MMRESULT res;
> +
> + {
> + /* test memory file */
Please avoid creating nested blocks this way, it's confusing and
doesn't add readability of any kind.
--
Dmitry.
More information about the wine-devel
mailing list