mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 14:24:43 -07:00
Wrong indents
Spaces slipped through. While I'm at it I also unified other lines.
This commit is contained in:
parent
061d93b0ae
commit
90da12d247
2 changed files with 9 additions and 9 deletions
|
@ -36,12 +36,12 @@ namespace Greenshot.Drawing.Fields.Binding {
|
||||||
|
|
||||||
protected override float convert(decimal o) {
|
protected override float convert(decimal o) {
|
||||||
return Convert.ToSingle(o);
|
return Convert.ToSingle(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static DecimalFloatConverter GetInstance()
|
public static DecimalFloatConverter GetInstance()
|
||||||
{
|
{
|
||||||
return _uniqueInstance ??= new DecimalFloatConverter();
|
return _uniqueInstance ??= new DecimalFloatConverter();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* Greenshot - a free and open source screenshot tool
|
* Greenshot - a free and open source screenshot tool
|
||||||
* Copyright (C) 2007-2020 Thomas Braun, Jens Klingen, Robin Krom
|
* Copyright (C) 2007-2020 Thomas Braun, Jens Klingen, Robin Krom
|
||||||
*
|
*
|
||||||
|
@ -36,12 +36,12 @@ namespace Greenshot.Drawing.Fields.Binding {
|
||||||
|
|
||||||
protected override int convert(decimal o) {
|
protected override int convert(decimal o) {
|
||||||
return Convert.ToInt32(o);
|
return Convert.ToInt32(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static DecimalIntConverter GetInstance()
|
public static DecimalIntConverter GetInstance()
|
||||||
{
|
{
|
||||||
return _uniqueInstance ??= new DecimalIntConverter();
|
return _uniqueInstance ??= new DecimalIntConverter();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue