mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SabreTools] Fix trim errors with Path
This commit is contained in:
@@ -39,8 +39,7 @@ namespace SabreTools
|
|||||||
while (sldr.Read())
|
while (sldr.Read())
|
||||||
{
|
{
|
||||||
int systemid = sldr.GetInt32(0);
|
int systemid = sldr.GetInt32(0);
|
||||||
string system = Path.Combine(_datroot, sldr.GetString(1) + " - " + sldr.GetString(2));
|
string system = Path.Combine(_datroot, sldr.GetString(1).Trim() + " - " + sldr.GetString(2).Trim());
|
||||||
system = system.Trim();
|
|
||||||
|
|
||||||
if (!Directory.Exists(system))
|
if (!Directory.Exists(system))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user