Don't rename resource if old name was empty string
This commit is contained in:
parent
d69b1b465c
commit
bea3a737d2
|
@ -147,7 +147,7 @@ namespace de4dot.renamer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (newName == null)
|
if (newName == null || string.IsNullOrEmpty(oldName))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
bool isValid = false;
|
bool isValid = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user