2021-05-01

- added "Settings / Reset to defaults and restart" function to delete the stored customized settings in case something
  went wrong (like massively oversized column widths)
- Philips ChannelMap\_30: fixed error when trying to save this type of list
- Upgraded to DevExpress WinForms 20.2.7 user interface library
This commit is contained in:
Horst Beham
2021-05-01 11:41:33 +02:00
parent 5a07d36f56
commit 35111daeda
29 changed files with 558 additions and 406 deletions

View File

@@ -18,7 +18,19 @@ namespace ChanSort.Loader.Samsung.Scm
public byte MagicMarker { get { return data[BaseOffset]; } }
public int SatelliteNr { get { return BitConverter.ToInt32(data, BaseOffset + 1); } }
public string Name { get { return utf16Encoding.GetString(data, BaseOffset + 9, 128).TrimEnd('\0'); } }
public string Name
{
get
{
var name = utf16Encoding.GetString(data, BaseOffset + 9, 128);
var i = name.IndexOf('\0');
if (i >= 0)
name = name.Substring(0, i);
return name;
}
}
public bool IsEast { get { return BitConverter.ToInt32(data, BaseOffset + 137) != 0; } }
public int Longitude { get { return BitConverter.ToInt32(data, BaseOffset + 141); } }
}