don't pass DISPLAY_OPT as a pointer to avoid NULL pointer deref
This commit is contained in:
@@ -373,7 +373,7 @@ void SaveCatalogXml( LoadingWindow *loading_window )
|
||||
DISP_OPT opts;
|
||||
opts.stylesheet = CATALOG_XSL;
|
||||
opts.write_tabs = false;
|
||||
xml.SaveToFile(fn, &opts);
|
||||
xml.SaveToFile(fn, opts);
|
||||
|
||||
LOG->Trace( "Done." );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user