mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add more peeks into a future change.
This commit is contained in:
@@ -67,6 +67,23 @@ namespace DATabase
|
|||||||
// Retieve and build the system name
|
// Retieve and build the system name
|
||||||
sldr.Read();
|
sldr.Read();
|
||||||
systemname = sldr.GetString(0) + " - " + sldr.GetString(1);
|
systemname = sldr.GetString(0) + " - " + sldr.GetString(1);
|
||||||
|
/*
|
||||||
|
// Retrieve and build the system name from all retrieved
|
||||||
|
int tempsize = 0;
|
||||||
|
while (sldr.Read() && tempsize < 3)
|
||||||
|
{
|
||||||
|
systemname += (tempsize == 0 ?
|
||||||
|
sldr.GetString(0) + " - " + sldr.GetString(1) :
|
||||||
|
", " + sldr.GetString(0) + " - " + sldr.GetString(1));
|
||||||
|
tempsize++;
|
||||||
|
}
|
||||||
|
|
||||||
|
// If there are more than 3 systems, just put "etc." on the end
|
||||||
|
if (sldr.Read())
|
||||||
|
{
|
||||||
|
systemname += ", etc.";
|
||||||
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -96,6 +113,21 @@ namespace DATabase
|
|||||||
// Retieve and build the system name
|
// Retieve and build the system name
|
||||||
sldr.Read();
|
sldr.Read();
|
||||||
sourcename = sldr.GetString(0);
|
sourcename = sldr.GetString(0);
|
||||||
|
/*
|
||||||
|
// Retrieve and build the source name from all retrieved
|
||||||
|
int tempsize = 0;
|
||||||
|
while (sldr.Read() && tempsize < 3)
|
||||||
|
{
|
||||||
|
sourcename += (tempsize == 0 ? sldr.GetString(0) : ", " + sldr.GetString(0));
|
||||||
|
tempsize++;
|
||||||
|
}
|
||||||
|
|
||||||
|
// If there are more than 3 systems, just put "etc." on the end
|
||||||
|
if (sldr.Read())
|
||||||
|
{
|
||||||
|
sourcename += ", etc.";
|
||||||
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user