misc fixes in splitpath

Dimitrie O. Paun dimi at intelliware.ca
Thu Aug 28 11:22:19 CDT 2003


On Thu, 28 Aug 2003 Dave_Belanger at cimmetry.com wrote:

> (See attached file: patch_splitpath)

+  if (swapSlashes && dir) {
+  /* convert backslashes back to slashes */
+         for (ptr = (char*)dir; *ptr; ++ptr) {
+                 if ('\\' == *ptr) {
+                         *ptr = '/';
+                 }
+         }
+
+  }

Can you please try to use the same formatting style 
(indentation & bracket placement) as the one in the
rest of the file? Otherwise the file becomes hard
to read if we switch between the styles too freely.

-- 
Dimi.




More information about the wine-devel mailing list