From e67388dda3cc7be8699ba76d7f8cf7fc39fa6cc3 Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 15 Jun 2006 06:31:52 +0000 Subject: [PATCH] ugly mistakes --- Scripts/Commands/Docs.cs | 2 +- Server/EventSink.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/Commands/Docs.cs b/Scripts/Commands/Docs.cs index b4fe73044..7a34b16d1 100644 --- a/Scripts/Commands/Docs.cs +++ b/Scripts/Commands/Docs.cs @@ -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 ) { diff --git a/Server/EventSink.cs b/Server/EventSink.cs index 6626e804a..85f2f8a67 100644 --- a/Server/EventSink.cs +++ b/Server/EventSink.cs @@ -545,7 +545,7 @@ namespace Server public Direction Direction{ get{ return m_Direction; } } public bool Blocked{ get{ return m_Blocked; } set{ m_Blocked = value; } } - private static Queue m_Pool = new Queue(); + private static Queue m_Pool = new Queue(); public static MovementEventArgs Create( Mobile mobile, Direction dir ) {