Skip to content

Commit 082b4ac

Browse files
committed
Add hack for reading in N42 files embedded in another XML document from a specific RSI portal.
1 parent ee22e7e commit 082b4ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SpecMeas.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2222,6 +2222,7 @@ bool SpecMeas::load_N42_from_data( char *data, char *data_end )
22222222
reset();
22232223

22242224
data_end = SpecUtils::convert_n42_utf16_xml_to_utf8( data, data_end );
2225+
SpecUtils::rsi_portal_xml_to_n42_hack( data, data_end );
22252226

22262227
// Some times a bunch of null characters can get appended to the end
22272228
// of the file - lets remove them, or rapidxml::parse will fail.

0 commit comments

Comments
 (0)