[ros-diffs] [sgasiorek] 20071: Remove dot at the end of filename without extension

sgasiorek at svn.reactos.com sgasiorek at svn.reactos.com
Sun Dec 11 19:29:30 CET 2005


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;
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051211/085d3148/attachment.html


More information about the Ros-diffs mailing list