Skip to content

Commit

Permalink
Fix UG html (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored Jun 20, 2024
1 parent bcfe2bb commit 9413447
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/org.hdfgroup.hdfview/hdf/view/HDFView.java
Original file line number Diff line number Diff line change
Expand Up @@ -995,11 +995,11 @@ public void widgetSelected(SelectionEvent e)
String usersGuideURL = ViewProperties.getUsersGuide();
log.trace("usersGuideURL: {}", usersGuideURL);
URL urlObject;
if (usersGuideURL != null)
urlObject = new URI(usersGuideURL).toURL();
else
urlObject = new URI(HDFVIEW_USERSGUIDE_URL).toURL();
try {
if (usersGuideURL != null)
urlObject = new URI(usersGuideURL).toURL();
else
urlObject = new URI(HDFVIEW_USERSGUIDE_URL).toURL();
org.eclipse.swt.program.Program.launch(urlObject.toString());
}
catch (Exception ex) {
Expand Down

0 comments on commit 9413447

Please sign in to comment.