diff options
author | Zack Middleton <zturtleman@gmail.com> | 2012-06-18 16:31:16 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 20:31:33 +0000 |
commit | 3a8f5c5225a6eefb1613f082c078670c643cc7e8 (patch) | |
tree | 65202e3a0580ca3e4edde6b5d5f53e71c70c3b38 /src/qcommon | |
parent | be7a6f69aa019960319e5701cb6793292be34cfd (diff) |
REFACTOR [a vs an]
From /dev/humancontroller.
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/huffman.c | 2 | ||||
-rw-r--r-- | src/qcommon/md4.c | 2 | ||||
-rw-r--r-- | src/qcommon/unzip.c | 4 | ||||
-rw-r--r-- | src/qcommon/unzip.h | 4 | ||||
-rw-r--r-- | src/qcommon/vm_local.h | 2 | ||||
-rw-r--r-- | src/qcommon/vm_powerpc_asm.c | 12 |
6 files changed, 13 insertions, 13 deletions
diff --git a/src/qcommon/huffman.c b/src/qcommon/huffman.c index f230c96a..7bd433d3 100644 --- a/src/qcommon/huffman.c +++ b/src/qcommon/huffman.c @@ -363,7 +363,7 @@ void Huff_Decompress(msg_t *mbuf, int offset) { for ( j = 0; j < cch; j++ ) { ch = 0; // don't overflow reading from the messages - // FIXME: would it be better to have a overflow check in get_bit ? + // FIXME: would it be better to have an overflow check in get_bit ? if ( (bloc >> 3) > size ) { seq[j] = 0; break; diff --git a/src/qcommon/md4.c b/src/qcommon/md4.c index 838b062e..b37c87b4 100644 --- a/src/qcommon/md4.c +++ b/src/qcommon/md4.c @@ -38,7 +38,7 @@ struct mdfour { /* NOTE: This code makes no attempt to be fast! - It assumes that a int is at least 32 bits long + It assumes that an int is at least 32 bits long */ static struct mdfour *m; diff --git a/src/qcommon/unzip.c b/src/qcommon/unzip.c index 128502ce..2dd0bf83 100644 --- a/src/qcommon/unzip.c +++ b/src/qcommon/unzip.c @@ -376,11 +376,11 @@ local uLong unzlocal_SearchCentralDir(pzlib_filefunc_def,filestream) /* Open a Zip file. path contain the full pathname (by example, - on a Windows NT computer "c:\\test\\zlib114.zip" or on an Unix computer + on a Windows NT computer "c:\\test\\zlib114.zip" or on a Unix computer "zlib/zlib114.zip". If the zipfile cannot be opened (file doesn't exist or in not valid), the return value is NULL. - Else, the return value is a unzFile Handle, usable with other function + Else, the return value is an unzFile Handle, usable with other function of this unzip package. */ extern unzFile ZEXPORT unzOpen2 (path, pzlib_filefunc_def) diff --git a/src/qcommon/unzip.h b/src/qcommon/unzip.h index b4a839b3..b22b72ea 100644 --- a/src/qcommon/unzip.h +++ b/src/qcommon/unzip.h @@ -136,11 +136,11 @@ extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1, extern unzFile ZEXPORT unzOpen OF((const char *path)); /* Open a Zip file. path contain the full pathname (by example, - on a Windows XP computer "c:\\zlib\\zlib113.zip" or on an Unix computer + on a Windows XP computer "c:\\zlib\\zlib113.zip" or on a Unix computer "zlib/zlib113.zip". If the zipfile cannot be opened (file don't exist or in not valid), the return value is NULL. - Else, the return value is a unzFile Handle, usable with other function + Else, the return value is an unzFile Handle, usable with other function of this unzip package. */ diff --git a/src/qcommon/vm_local.h b/src/qcommon/vm_local.h index 8f23a25e..7560832c 100644 --- a/src/qcommon/vm_local.h +++ b/src/qcommon/vm_local.h @@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define OPSTACK_MASK (OPSTACK_SIZE-1) // don't change -// Hardcoded in q3asm an reserved at end of bss +// Hardcoded in q3asm a reserved at end of bss #define PROGRAM_STACK_SIZE 0x10000 #define PROGRAM_STACK_MASK (PROGRAM_STACK_SIZE-1) diff --git a/src/qcommon/vm_powerpc_asm.c b/src/qcommon/vm_powerpc_asm.c index 19199321..dcb7e273 100644 --- a/src/qcommon/vm_powerpc_asm.c +++ b/src/qcommon/vm_powerpc_asm.c @@ -374,7 +374,7 @@ static const struct powerpc_operand powerpc_operands[] = /* The SH field in an X or M form instruction. */ #define SH RS + 1 #define SH_MASK (0x1f << 11) - /* The other UIMM field in a EVX form instruction. */ + /* The other UIMM field in an EVX form instruction. */ #define EVUIMM SH { 0x1f, 11, NULL, 0 }, @@ -657,19 +657,19 @@ insert_rbs (unsigned long insn, #define SC(op, sa, lk) (OP (op) | ((((unsigned long)(sa)) & 1) << 1) | ((lk) & 1)) #define SC_MASK (OP_MASK | (((unsigned long)0x3ff) << 16) | (((unsigned long)1) << 1) | 1) -/* An VX form instruction. */ +/* A VX form instruction. */ #define VX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7ff)) -/* The mask for an VX form instruction. */ +/* The mask for a VX form instruction. */ #define VX_MASK VX(0x3f, 0x7ff) -/* An VA form instruction. */ +/* A VA form instruction. */ #define VXA(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x03f)) -/* The mask for an VA form instruction. */ +/* The mask for a VA form instruction. */ #define VXA_MASK VXA(0x3f, 0x3f) -/* An VXR form instruction. */ +/* A VXR form instruction. */ #define VXR(op, xop, rc) (OP (op) | (((rc) & 1) << 10) | (((unsigned long)(xop)) & 0x3ff)) /* The mask for a VXR form instruction. */ |