mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
Revert "Modified the .ext file reading and the .spice file writing so that"
This reverts commit 46baae0ce6.
Reverting the last commit, as it does not work completely the way it
is supposed to, and will most likely have to be done in a different
way.
This commit is contained in:
+1
-3
@@ -225,8 +225,7 @@ EFStrToHN(prefix, suffixStr)
|
||||
|
||||
/*
|
||||
* Convert the relative name into a HierName path, with one HierName
|
||||
* created for each slash-separated segment of suffixStr. Backslash-
|
||||
* escaped slashes are not part of a path and are ignored.
|
||||
* created for each slash-separated segment of suffixStr.
|
||||
*/
|
||||
cp = slashPtr = suffixStr;
|
||||
for (;;)
|
||||
@@ -243,7 +242,6 @@ EFStrToHN(prefix, suffixStr)
|
||||
slashPtr = cp;
|
||||
prefix = hierName;
|
||||
}
|
||||
else if ((*cp == '\\') && (*(cp + 1) == '/')) cp += 2;
|
||||
else cp++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user