mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-04 12:14:45 +13:00
aa1e8afe43
newPoints is array of structs "System.Drawing.Point". Any element of an array can not be null. That expression (newPoints[i] == null) always return false. So, we can remove this cycle without changes in program logic. |
||
---|---|---|
.. | ||
ArrowDrawingShape.cs | ||
BaseDrawingShape.cs | ||
CursorDrawingShape.cs | ||
EllipseDrawingShape.cs | ||
FreehandDrawingShape.cs | ||
ImageDrawingShape.cs | ||
ImageFileDrawingShape.cs | ||
ImageScreenDrawingShape.cs | ||
LineDrawingShape.cs | ||
RectangleDrawingShape.cs | ||
SpeechBalloonDrawingShape.cs | ||
StepDrawingShape.cs | ||
StickerDrawingShape.cs | ||
TextDrawingShape.cs | ||
TextOutlineDrawingShape.cs |