[PATCH] dlls: Fix "seeking to" typo.

Serge Gautherie winehq-git_serge_180711 at gautherie.fr
Thu Aug 8 09:11:14 CDT 2019


Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
 dlls/d3dxof/parsing.c   | 2 +-
 dlls/winmm/tests/mmio.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c
index 7d31627..94afd42 100644
--- a/dlls/d3dxof/parsing.c
+++ b/dlls/d3dxof/parsing.c
@@ -1427,7 +1427,7 @@ BOOL parse_object(parse_buffer * buf)
   if (get_TOKEN(buf) != TOKEN_CBRACE)
     return FALSE;
 
-  /* For seeking to a possibly eof to avoid parsing another object next time */
+  /* For seeking a possibly eof to avoid parsing another object next time */
   check_TOKEN(buf);
 
   return TRUE;
diff --git a/dlls/winmm/tests/mmio.c b/dlls/winmm/tests/mmio.c
index 5501c31..f21deab 100644
--- a/dlls/winmm/tests/mmio.c
+++ b/dlls/winmm/tests/mmio.c
@@ -889,7 +889,7 @@ static void test_mmio_buffer_pointer(void)
     ok(res == MMSYSERR_NOERROR, "mmioAdvance failed %x\n", res);
     ok(mmio.pchEndRead-mmio.pchBuffer == sizeof(buffer), "got %d\n", (int)(mmio.pchEndRead-mmio.pchBuffer));
 
-    /* seeking to the same buffer chunk, the buffer is kept */
+    /* seeking the same buffer chunk, the buffer is kept */
     size = sizeof(buffer)/2;
     pos = mmioSeek(hmmio, size, SEEK_SET);
     ok(pos == size, "failed to seek, expected %d, got %d\n", size, pos);
@@ -899,7 +899,7 @@ static void test_mmio_buffer_pointer(void)
     ok(mmio.pchNext-mmio.pchBuffer == size, "expected %d, got %d\n", size, (int)(mmio.pchNext-mmio.pchBuffer));
     ok(mmio.pchEndRead-mmio.pchBuffer == sizeof(buffer), "got %d\n", (int)(mmio.pchEndRead-mmio.pchBuffer));
 
-    /* seeking to another buffer chunk, the buffer is empty */
+    /* seeking another buffer chunk, the buffer is empty */
     size = sizeof(buffer) * 3 + sizeof(buffer) / 2;
     pos = mmioSeek(hmmio, size, SEEK_SET);
     ok(pos == size, "failed to seek, got %d\n", pos);
-- 
2.10.0.windows.1




More information about the wine-devel mailing list