diff --git a/Sailboat/Sailboat/BoatsGenericCollection.cs b/Sailboat/Sailboat/BoatsGenericCollection.cs
index dba993e..3e6b5eb 100644
--- a/Sailboat/Sailboat/BoatsGenericCollection.cs
+++ b/Sailboat/Sailboat/BoatsGenericCollection.cs
@@ -28,7 +28,7 @@ namespace Sailboat.Generics
///
/// Размер занимаемого объектом места (ширина)
///
- private readonly int _placeSizeWidth = 160;
+ private readonly int _placeSizeWidth = 170;
///
/// Размер занимаемого объектом места (высота)
///
@@ -114,7 +114,7 @@ namespace Sailboat.Generics
{
for (int j = 0; j < _pictureHeight / _placeSizeHeight +
1; ++j)
- {//линия рамзетки места
+ {//линия разметки места
g.DrawLine(pen, i * _placeSizeWidth, j *
_placeSizeHeight, i * _placeSizeWidth + _placeSizeWidth / 2, j *
_placeSizeHeight);
diff --git a/Sailboat/Sailboat/BoatsGenericStorage.cs b/Sailboat/Sailboat/BoatsGenericStorage.cs
index 9e7844a..0eb3a8a 100644
--- a/Sailboat/Sailboat/BoatsGenericStorage.cs
+++ b/Sailboat/Sailboat/BoatsGenericStorage.cs
@@ -136,9 +136,9 @@ namespace Sailboat.Generics
return false;
}
- using (StreamReader fs = File.OpenText(filename))
+ using (StreamReader bs = File.OpenText(filename))
{
- string str = fs.ReadLine();
+ string str = bs.ReadLine();
if (str == null || str.Length == 0)
{
return false;
@@ -151,7 +151,7 @@ namespace Sailboat.Generics
_boatStorages.Clear();
string strs = "";
- while ((strs = fs.ReadLine()) != null)
+ while ((strs = bs.ReadLine()) != null)
{
if (strs == null)
{
diff --git a/Sailboat/Sailboat/DrawingBoat.cs b/Sailboat/Sailboat/DrawingBoat.cs
index 147e12f..cb11f8a 100644
--- a/Sailboat/Sailboat/DrawingBoat.cs
+++ b/Sailboat/Sailboat/DrawingBoat.cs
@@ -56,8 +56,8 @@ namespace Sailboat.DrawingObjects
{
y = 0;
}
- _startPosX = x;
- _startPosY = y + 18;
+ _startPosX = x + 5;
+ _startPosY = y + 17;
}
public bool CanMove(DirectionType direction)
{