removed unnecessary files from project

priorize hex channel names over text channel names
This commit is contained in:
hbeham
2014-05-25 16:15:24 +02:00
parent eedda0111c
commit 16c67add00
2 changed files with 3 additions and 20 deletions

View File

@@ -70,25 +70,6 @@
<Compile Include="GcSerializer.cs" />
<Compile Include="GcSerializerPlugin.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ChanSort.Api\ChanSort.Api.csproj">

View File

@@ -112,7 +112,9 @@ namespace ChanSort.Loader.GlobalClone
ch.OldProgramNr = int.Parse(info.InnerText) & 0x3FFF;
break;
case "vchName":
ch.Name = ParseName(info.InnerText);
var name = ParseName(info.InnerText);
if (string.IsNullOrWhiteSpace(ch.Name) || !string.IsNullOrWhiteSpace(name)) // avoid overwriting valid name from <hexVchName> with empty <vchName>
ch.Name = name;
break;
case "sourceIndex":
var source = int.Parse(info.InnerText);