mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use merge pattern.
This commit is contained in:
@@ -30,8 +30,6 @@
|
||||
// Copyright © 2011-2022 Natalia Portillo
|
||||
// ****************************************************************************/
|
||||
|
||||
|
||||
|
||||
// ReSharper disable JoinDeclarationAndInitializer
|
||||
// ReSharper disable InlineOutVariableDeclaration
|
||||
// ReSharper disable TooWideLocalVariableScope
|
||||
@@ -253,8 +251,7 @@ partial class Dump
|
||||
|
||||
_speed *= _speedMultiplier;
|
||||
|
||||
if(_speed == 0 ||
|
||||
_speed > 0xFFFF)
|
||||
if(_speed is 0 or > 0xFFFF)
|
||||
_speed = 0xFFFF;
|
||||
|
||||
currentReadSpeed = _speed;
|
||||
|
||||
Reference in New Issue
Block a user