[Scummvm-cvs-logs] SF.net SVN: scummvm:[36270] scummvm/trunk/backends/platform/wince/missing/ missing.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed Feb 11 23:51:15 CET 2009
Revision: 36270
http://scummvm.svn.sourceforge.net/scummvm/?rev=36270&view=rev
Author: fingolfin
Date: 2009-02-11 22:51:15 +0000 (Wed, 11 Feb 2009)
Log Message:
-----------
cleanup
Modified Paths:
--------------
scummvm/trunk/backends/platform/wince/missing/missing.cpp
Modified: scummvm/trunk/backends/platform/wince/missing/missing.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/missing/missing.cpp 2009-02-11 17:33:39 UTC (rev 36269)
+++ scummvm/trunk/backends/platform/wince/missing/missing.cpp 2009-02-11 22:51:15 UTC (rev 36270)
@@ -291,8 +291,7 @@
}
}
-int closedir(DIR* dir)
-{
+int closedir(DIR* dir) {
if (dir == NULL)
return 0;
@@ -306,11 +305,10 @@
}
/* Make directory, Unix style */
-void mkdir(char* dirname, int mode)
-{
+void mkdir(char* dirname, int mode) {
char path[MAX_PATH+1];
TCHAR pathUnc[MAX_PATH+1];
- char* ptr;
+ char *ptr;
strncpy(path, dirname, MAX_PATH);
if (*path == '/')
*path = '\\';
@@ -327,10 +325,9 @@
CreateDirectory(pathUnc, 0);
}
-char *strdup(const char *strSource)
-{
- char* buffer;
- size_z len = strlen(strSource)+1;
+char *strdup(const char *strSource) {
+ char *buffer;
+ size_z len = strlen(strSource) + 1;
buffer = (char*)malloc(len);
if (buffer)
memcpy(buffer, strSource, len);
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