Don't rename resource if old name was empty string

This commit is contained in:
de4dot 2011-10-08 12:17:01 +02:00
parent d69b1b465c
commit bea3a737d2

View File

@ -147,7 +147,7 @@ namespace de4dot.renamer {
}
}
}
if (newName == null)
if (newName == null || string.IsNullOrEmpty(oldName))
continue;
bool isValid = false;