mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 02:43:48 +00:00
30 lines
811 B
Diff
30 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));
|
||
|
|