File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Intersect.Client.Core/Interface/Game/Admin
Intersect.Client.Framework/Gwen/Control Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public partial class BanMuteBox : WindowControl
2424 ( Strings . BanMute . TwoMonths , 60 ) ,
2525 ( Strings . BanMute . SixMonths , 180 ) ,
2626 ( Strings . BanMute . OneYear , 365 ) ,
27- ( Strings . BanMute . Forever , int . MaxValue ) ,
27+ ( Strings . BanMute . Forever , 999999 ) ,
2828 } ;
2929
3030 public BanMuteBox ( string title , string prompt , EventHandler okayHandler ) : base (
Original file line number Diff line number Diff line change @@ -1301,12 +1301,12 @@ public void Dispose()
13011301 return ;
13021302 }
13031303
1304- // I think its only used for diagnosis , so Im adding the DEBUG condition. I hope so
1304+ // This stack trace is only used for diagnostics , so it is included only in DEBUG builds.
13051305#if DEBUG
13061306 _disposeStack = new StackTrace ( fNeedFileInfo : true ) ;
13071307#endif
13081308
1309- // We mark that Dispose() has been called to prevents Dispose from being executed again
1309+ // We mark that Dispose() has been called to prevent Dispose from being executed again
13101310 _disposed = true ;
13111311
13121312 // Remove all pending tasks from the thread queue of this control
@@ -1315,7 +1315,7 @@ public void Dispose()
13151315 // Virtual Dispose() so that inherited classes can release their resources
13161316 Dispose ( disposing : true ) ;
13171317
1318- // Reserve an assistant variable for the texture caching mechanism
1318+ // Reserve a temporary variable for the texture caching mechanism
13191319 ICacheToTexture ? cache = default ;
13201320
13211321#pragma warning disable CA1031 // Do not catch general exception types
You can’t perform that action at this time.
0 commit comments