ugly mistakes
This commit is contained in:
parent
ab1f707545
commit
e67388dda3
2 changed files with 2 additions and 2 deletions
|
|
@ -192,7 +192,7 @@ namespace Server.Commands
|
|||
|
||||
public static string GetFileName( string root, string name, string ext )
|
||||
{
|
||||
if ( name.IndexOfAny( ReplaceChars ) ) {
|
||||
if ( name.IndexOfAny( ReplaceChars ) >= 0 ) {
|
||||
StringBuilder sb = new StringBuilder( name );
|
||||
|
||||
for ( int i = 0; i < ReplaceChars.Length; ++i ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue