[Scummvm-cvs-logs] SF.net SVN: scummvm: [25861] scummvm/trunk/common/stream.h
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Feb 25 20:08:58 CET 2007
Revision: 25861
http://scummvm.svn.sourceforge.net/scummvm/?rev=25861&view=rev
Author: fingolfin
Date: 2007-02-25 11:08:57 -0800 (Sun, 25 Feb 2007)
Log Message:
-----------
Typo
Modified Paths:
--------------
scummvm/trunk/common/stream.h
Modified: scummvm/trunk/common/stream.h
===================================================================
--- scummvm/trunk/common/stream.h 2007-02-25 19:01:59 UTC (rev 25860)
+++ scummvm/trunk/common/stream.h 2007-02-25 19:08:57 UTC (rev 25861)
@@ -39,7 +39,7 @@
virtual ~Stream() {}
/**
- * Returns true if any I/O failure occured.
+ * Returns true if any I/O failure occurred.
* This flag is never cleared automatically. In order to clear it,
* client code has to call clearIOFailed() explicitly.
*
@@ -154,7 +154,7 @@
/**
* Read am unsigned byte from the stream and return it.
* Performs no error checking. The return value is undefined
- * if a read error occured (for which client code can check by
+ * if a read error occurred (for which client code can check by
* calling ioFailed()).
*/
byte readByte() {
@@ -166,7 +166,7 @@
/**
* Read a signed byte from the stream and return it.
* Performs no error checking. The return value is undefined
- * if a read error occured (for which client code can check by
+ * if a read error occurred (for which client code can check by
* calling ioFailed()).
*/
int8 readSByte() {
@@ -179,7 +179,7 @@
* Read an unsigned 16-bit word stored in little endian (LSB first) order
* from the stream and return it.
* Performs no error checking. The return value is undefined
- * if a read error occured (for which client code can check by
+ * if a read error occurred (for which client code can check by
* calling ioFailed()).
*/
uint16 readUint16LE() {
@@ -192,7 +192,7 @@
* Read an unsigned 32-bit word stored in little endian (LSB first) order
* from the stream and return it.
* Performs no error checking. The return value is undefined
- * if a read error occured (for which client code can check by
+ * if a read error occurred (for which client code can check by
* calling ioFailed()).
*/
uint32 readUint32LE() {
@@ -205,7 +205,7 @@
* Read an unsigned 16-bit word stored in big endian (MSB first) order
* from the stream and return it.
* Performs no error checking. The return value is undefined
- * if a read error occured (for which client code can check by
+ * if a read error occurred (for which client code can check by
* calling ioFailed()).
*/
uint16 readUint16BE() {
@@ -218,7 +218,7 @@
* Read an unsigned 32-bit word stored in big endian (MSB first) order
* from the stream and return it.
* Performs no error checking. The return value is undefined
- * if a read error occured (for which client code can check by
+ * if a read error occurred (for which client code can check by
* calling ioFailed()).
*/
uint32 readUint32BE() {
@@ -231,7 +231,7 @@
* Read a signed 16-bit word stored in little endian (LSB first) order
* from the stream and return it.
* Performs no error checking. The return value is undefined
- * if a read error occured (for which client code can check by
+ * if a read error occurred (for which client code can check by
* calling ioFailed()).
*/
int16 readSint16LE() {
@@ -242,7 +242,7 @@
* Read a signed 32-bit word stored in little endian (LSB first) order
* from the stream and return it.
* Performs no error checking. The return value is undefined
- * if a read error occured (for which client code can check by
+ * if a read error occurred (for which client code can check by
* calling ioFailed()).
*/
int32 readSint32LE() {
@@ -253,7 +253,7 @@
* Read a signed 16-bit word stored in big endian (MSB first) order
* from the stream and return it.
* Performs no error checking. The return value is undefined
- * if a read error occured (for which client code can check by
+ * if a read error occurred (for which client code can check by
* calling ioFailed()).
*/
int16 readSint16BE() {
@@ -264,7 +264,7 @@
* Read a signed 32-bit word stored in big endian (MSB first) order
* from the stream and return it.
* Performs no error checking. The return value is undefined
- * if a read error occured (for which client code can check by
+ * if a read error occurred (for which client code can check by
* calling ioFailed()).
*/
int32 readSint32BE() {
@@ -304,7 +304,7 @@
*
* @param buf the buffer to store into
* @param bufSize the size of the buffer
- * @return a pointer to the read string, or NULL if an error occured
+ * @return a pointer to the read string, or NULL if an error occurred
* @note The line terminator (CR or CR/LF) is stripped and not inserted
* into the buffer.
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list