From: Marc-Andre R. C. <kx...@us...> - 2002-06-06 07:28:45
|
Update of /cvsroot/planeshift/planeshift/src/updater/client In directory usw-pr-cvs1:/tmp/cvs-serv9820/src/updater/client Modified Files: uclient.cpp Log Message: Small fix to compile on window. Index: uclient.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/updater/client/uclient.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** uclient.cpp 6 Jun 2002 06:15:31 -0000 1.6 --- uclient.cpp 6 Jun 2002 07:28:42 -0000 1.7 *************** *** 289,295 **** csString dironly; int i=realpath.Length(); while(i > 0) { ! if(realpath[i-1] == '/' || realpath[i-1] == '\\') break; i--; } --- 289,296 ---- csString dironly; int i=realpath.Length(); + const char *tmp = realpath.GetData(); while(i > 0) { ! if(tmp[i-1] == '/' || tmp[i-1] == '\\') break; i--; } *************** *** 538,542 **** if (hashesPrinted == hashesTotal) { - int i; progressCurrent++; fprintf(stdout, "\n"); --- 539,542 ---- |