From: John Hodge Date: Sun, 27 Sep 2009 10:19:16 +0000 (+0800) Subject: Fixed: Used pos-increment instead of pre-increment X-Git-Tag: rel0.06~425 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=0236f83f751e2aefa4580b1259a182a3cd9aabe1;p=tpg%2Facess2.git Fixed: Used pos-increment instead of pre-increment --- diff --git a/Kernel/vfs/open.c b/Kernel/vfs/open.c index 1b51b85d..be7ebc3d 100644 --- a/Kernel/vfs/open.c +++ b/Kernel/vfs/open.c @@ -101,7 +101,7 @@ char *VFS_GetAbsPath(char *Path) // If there is no higher, silently ignore if(!slashNum) continue; // Reverse write pointer - write = slashOffsets[ slashNum-- ]; + write = slashOffsets[ --slashNum ]; continue; } }