Spelling fixes.
diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c
index ea84913..840b805 100644
--- a/dlls/dsound/dsound_main.c
+++ b/dlls/dsound/dsound_main.c
@@ -103,6 +103,7 @@
*/
struct IDirectSoundBufferImpl
{
+ /* FIXME: document */
/* IUnknown fields */
ICOM_VFIELD(IDirectSoundBuffer);
DWORD ref;
@@ -1361,7 +1362,7 @@
if (pwrite < pplay) pwrite += primarybuf->buflen; /* wraparound */
pwrite -= pplay;
if (pmix > (DS_SND_QUEUE * primarybuf->dsound->fraglen + pwrite + primarybuf->writelead)) {
- TRACE("detected an underrun: primary queue was %ld\n",pmix);
+ WARN("detected an underrun: primary queue was %ld\n",pmix);
pmix = 0;
}
/* divide the offset by its sample size */
@@ -1535,8 +1536,8 @@
if ((writebytes == This->buflen) &&
((This->state == STATE_STARTING) ||
(This->state == STATE_PLAYING)))
- /* some games, like Half-Life, tries to be clever (not) and
- * keeps one secondary buffer, and mixes sounds into it itself,
+ /* some games, like Half-Life, try to be clever (not) and
+ * keep one secondary buffer, and mix sounds into it itself,
* locking the entire buffer every time... so we can just forget
* about tracking the last-written-to-position... */
This->probably_valid_to = (DWORD)-1;
@@ -2746,7 +2747,7 @@
/* determine this buffer's write position */
DWORD buf_writepos = DSOUND_CalcPlayPosition(dsb, dsb->state & primarybuf->state, writepos,
writepos, dsb->primary_mixpos, dsb->buf_mixpos);
- /* determine how much already-mixed data exist */
+ /* determine how much already-mixed data exists */
DWORD buf_done =
((dsb->buf_mixpos < buf_writepos) ? dsb->buflen : 0) +
dsb->buf_mixpos - buf_writepos;
@@ -2935,6 +2936,7 @@
if (primarybuf->hwbuf) {
if (dsound->priolevel != DSSCL_WRITEPRIMARY) {
BOOL paused = ((primarybuf->state == STATE_STOPPED) || (primarybuf->state == STATE_STARTING));
+ /* FIXME: document variables */
DWORD playpos, writepos, inq, maxq, frag;
hres = IDsDriverBuffer_GetPosition(primarybuf->hwbuf, &playpos, &writepos);
if (hres) {
diff --git a/dlls/winmm/joystick/joystick.c b/dlls/winmm/joystick/joystick.c
index e25c30f..7965ed5 100644
--- a/dlls/winmm/joystick/joystick.c
+++ b/dlls/winmm/joystick/joystick.c
@@ -238,7 +238,7 @@
if ((dev = JSTCK_OpenDevice(jstck)) < 0) return JOYERR_PARMS;
#ifdef HAVE_LINUX_22_JOYSTICK_API
- /* After opening the device it's state can be
+ /* After opening the device, its state can be
read with JS_EVENT_INIT flag */
while ((read(dev, &ev, sizeof(struct js_event))) > 0) {
if (ev.type == (JS_EVENT_AXIS | JS_EVENT_INIT)) {
diff --git a/dlls/winmm/time.c b/dlls/winmm/time.c
index 3656d74..0ce0aca 100644
--- a/dlls/winmm/time.c
+++ b/dlls/winmm/time.c
@@ -1,7 +1,7 @@
/* -*- tab-width: 8; c-basic-offset: 4 -*- */
/*
- * MMSYTEM time functions
+ * MMSYSTEM time functions
*
* Copyright 1993 Martin Ayotte
*/
diff --git a/loader/task.c b/loader/task.c
index 49fe403..1a3c2ee 100644
--- a/loader/task.c
+++ b/loader/task.c
@@ -448,7 +448,7 @@
/***********************************************************************
- * TASK_KillTask
+ * TASK_ExitTask
*/
void TASK_ExitTask(void)
{