fix some nres
This commit is contained in:
parent
596db1d5bc
commit
14c5ba260f
3 changed files with 6 additions and 8 deletions
|
@ -230,7 +230,11 @@ namespace ShiftOS.Objects.ShiftFS
|
|||
|
||||
if (!FileExists(path))
|
||||
{
|
||||
dir.AddFile(new File(pathlist[pathlist.Length - 1], Encoding.UTF8.GetBytes(contents), false, Permissions.All));
|
||||
try
|
||||
{
|
||||
dir.AddFile(new File(pathlist[pathlist.Length - 1], Encoding.UTF8.GetBytes(contents), false, Permissions.All));
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -154,6 +154,7 @@ namespace ShiftOS.WinForms.Tools
|
|||
|
||||
try
|
||||
{
|
||||
if(ctrl.Tag != null)
|
||||
tag = ctrl.Tag.ToString();
|
||||
}
|
||||
catch { }
|
||||
|
|
|
@ -44,14 +44,7 @@ namespace ShiftOS.WinForms
|
|||
{
|
||||
try
|
||||
{
|
||||
switch (SaveSystem.CurrentSave.Language)
|
||||
{
|
||||
case "deutsch":
|
||||
return Properties.Resources.strings_de;
|
||||
default:
|
||||
return getDefault();
|
||||
|
||||
}
|
||||
}
|
||||
catch (NullReferenceException)
|
||||
{
|
||||
|
|
Reference in a new issue