Remove dot at the end of filename without extension
Modified: trunk/reactos/drivers/fs/cdfs/misc.c
_____
Modified: trunk/reactos/drivers/fs/cdfs/misc.c
--- trunk/reactos/drivers/fs/cdfs/misc.c 2005-12-11 17:53:49 UTC
(rev 20070)
+++ trunk/reactos/drivers/fs/cdfs/misc.c 2005-12-11 18:29:27 UTC
(rev 20071)
@@ -50,6 +50,11 @@
if (t[i+1] == 0 && t[i] == ';')
break;
}
+ if ((i>2)&&(t[i-2] == '.'))
+ {
+ t[i-2] = 0;
+ t[i-1] = 0;
+ }
t[i] = 0;
t[i+1] = 0;
}
Show replies by date