mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 14:24:43 -07:00
Converters fix for release 1.3
This commit is contained in:
parent
38739ce427
commit
061d93b0ae
2 changed files with 4 additions and 4 deletions
|
@ -35,7 +35,7 @@ namespace Greenshot.Drawing.Fields.Binding {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override float convert(decimal o) {
|
protected override float convert(decimal o) {
|
||||||
return Convert.ToInt16(o);
|
return Convert.ToSingle(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static DecimalFloatConverter GetInstance()
|
public static DecimalFloatConverter GetInstance()
|
||||||
|
|
|
@ -35,7 +35,7 @@ namespace Greenshot.Drawing.Fields.Binding {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override int convert(decimal o) {
|
protected override int convert(decimal o) {
|
||||||
return Convert.ToInt16(o);
|
return Convert.ToInt32(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static DecimalIntConverter GetInstance()
|
public static DecimalIntConverter GetInstance()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue