Mercurial > sdl-ios-xcode
changeset 2173:26233707bc94
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 11 Jul 2007 14:51:49 +0000 |
parents | bef26cfc8f79 |
children | 8f37b91f2e3e |
files | src/file/SDL_rwops.c src/video/SDL_yuv_mmx.c |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/file/SDL_rwops.c Wed Jul 11 14:50:21 2007 +0000 +++ b/src/file/SDL_rwops.c Wed Jul 11 14:51:49 2007 +0000 @@ -59,7 +59,7 @@ if (!context) return -1; /* failed (invalid call) */ - context->hidden.win32io.h = INVALID_HANDLE_VALUE; /* mark this as unusable */ + context->hidden.win32io.h = INVALID_HANDLE_VALUE; /* mark this as unusable */ context->hidden.win32io.buffer.data = NULL; context->hidden.win32io.buffer.size = 0; context->hidden.win32io.buffer.left = 0; @@ -82,12 +82,12 @@ if (!r_right && !w_right) /* inconsistent mode */ return -1; /* failed (invalid call) */ - context->hidden.win32io.buffer.data = (char *)SDL_malloc(READAHEAD_BUFFER_SIZE); + context->hidden.win32io.buffer.data = + (char *) SDL_malloc(READAHEAD_BUFFER_SIZE); if (!context->hidden.win32io.buffer.data) { SDL_OutOfMemory(); return -1; } - #ifdef _WIN32_WCE { size_t size = SDL_strlen(filename) + 1;