From 8def2f8aaf5d7e480900a7273e3704ce775f5df8 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 24 Aug 2010 14:17:07 -0400 Subject: [PATCH] Fixed some single-line comments. --- src/physfs_unicode.c | 2 +- src/platform_pocketpc.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/physfs_unicode.c b/src/physfs_unicode.c index 35d34daa..68557343 100644 --- a/src/physfs_unicode.c +++ b/src/physfs_unicode.c @@ -387,7 +387,7 @@ void PHYSFS_utf8FromUtf16(const PHYSFS_uint16 *src, char *dst, PHYSFS_uint64 len cp = UNICODE_BOGUS_CHAR_CODEPOINT; else { - src++; // eat the other surrogate. + src++; /* eat the other surrogate. */ cp = (((cp - 0xD800) << 10) | (pair - 0xDC00)); } /* else */ } /* else if */ diff --git a/src/platform_pocketpc.c b/src/platform_pocketpc.c index 3c17f2f1..04cf60b5 100644 --- a/src/platform_pocketpc.c +++ b/src/platform_pocketpc.c @@ -416,7 +416,7 @@ int __PHYSFS_platformSeek(void *opaque, PHYSFS_uint64 pos) DWORD rc; /* Get the high order 32-bits of the position */ - //HighOrderPos = HIGHORDER_UINT64(pos); + /*HighOrderPos = HIGHORDER_UINT64(pos);*/ HighOrderPos = (unsigned long)(pos>>32); /*!!! SetFilePointer needs a signed 64-bit value. */ @@ -450,7 +450,7 @@ PHYSFS_sint64 __PHYSFS_platformTell(void *opaque) { /* Combine the high/low order to create the 64-bit position value */ retval = (((PHYSFS_uint64) HighPos) << 32) | LowPos; - //assert(retval >= 0); + /*assert(retval >= 0);*/ } /* else */ return retval; @@ -473,7 +473,7 @@ PHYSFS_sint64 __PHYSFS_platformFileLength(void *opaque) { /* Combine the high/low order to create the 64-bit position value */ retval = (((PHYSFS_uint64) SizeHigh) << 32) | SizeLow; - //assert(retval >= 0); + /*assert(retval >= 0);*/ } /* else */ return retval;