mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DATFromDir] Put retry on intial delete too
This commit is contained in:
@@ -441,11 +441,13 @@ namespace SabreTools.Helper
|
||||
/// </summary>
|
||||
public static int CompareNumeric(string s, string other)
|
||||
{
|
||||
if ((s == null || s.Replace(" ", string.Empty).Length == 0) && (other != null && other.Replace(" ", string.Empty).Length > 0))
|
||||
if ((s == null || s.Replace(" ", string.Empty).Length == 0)
|
||||
&& (other != null && other.Replace(" ", string.Empty).Length > 0))
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
if ((s != null && s.Replace(" ", string.Empty).Length > 0) && (other == null || other.Replace(" ", string.Empty).Length == 0))
|
||||
if ((s != null && s.Replace(" ", string.Empty).Length > 0)
|
||||
&& (other == null || other.Replace(" ", string.Empty).Length == 0))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user