File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <TargetFramework >netstandard2.0</TargetFramework >
5- <Version >0.0.4</Version >
5+ <Version >0.0.4.1 </Version >
66 <Authors >Fusion86</Authors >
77 <Company />
88 </PropertyGroup >
Original file line number Diff line number Diff line change @@ -160,10 +160,16 @@ public void Save(string path)
160160
161161 foreach ( var item in Strings )
162162 {
163- if ( item == null ) continue ;
164-
165- bw . Write ( ExEncoding . UTF8 . GetBytes ( item ) ) ;
166- bw . Write ( ( byte ) 0 ) ; // szString end of string
163+ if ( String . IsNullOrEmpty ( item ) )
164+ {
165+ bw . Write ( ExEncoding . UTF8 . GetBytes ( "CIRILLA_EMPTY_STRING" ) ) ;
166+ bw . Write ( ( byte ) 0 ) ; // szString end of string
167+ }
168+ else
169+ {
170+ bw . Write ( ExEncoding . UTF8 . GetBytes ( item ) ) ;
171+ bw . Write ( ( byte ) 0 ) ; // szString end of string
172+ }
167173 }
168174 }
169175
You can’t perform that action at this time.
0 commit comments