mirror of
https://github.com/reactos/reactos.git
synced 2024-11-05 14:19:25 +00:00
29 lines
811 B
Diff
29 lines
811 B
Diff
Index: fdi.c
|
|
===================================================================
|
|
--- fdi.c (revision 73922)
|
|
+++ fdi.c (working copy)
|
|
@@ -2039,11 +2039,24 @@
|
|
fullpath[0] = '\0';
|
|
if (pathlen) {
|
|
strcpy(fullpath, userpath);
|
|
+#ifndef __REACTOS__
|
|
if (fullpath[pathlen - 1] != '\\')
|
|
strcat(fullpath, "\\");
|
|
+#else
|
|
+ if (fullpath[pathlen - 1] == '\\')
|
|
+ fullpath[pathlen - 1] = '\0';
|
|
+#endif
|
|
}
|
|
+#ifndef __REACTOS__
|
|
if (filenamelen)
|
|
+#else
|
|
+ if (filenamelen) {
|
|
+ strcat(fullpath, "\\");
|
|
+#endif
|
|
strcat(fullpath, cab->mii.nextname);
|
|
+#ifdef __REACTOS__
|
|
+ }
|
|
+#endif
|
|
|
|
TRACE("full cab path/file name: %s\n", debugstr_a(fullpath));
|
|
|