Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 181372 | Differences between
and this patch

Collapse All | Expand All

(-)radiant/url.cpp.old (-1 / +1 lines)
Lines 40-46 Link Here
40
  // \todo FIXME: the way we open URLs on *nix should be improved. A script is good (see how I do on RTCW)
40
  // \todo FIXME: the way we open URLs on *nix should be improved. A script is good (see how I do on RTCW)
41
  char command[2*PATH_MAX];
41
  char command[2*PATH_MAX];
42
  snprintf (command, sizeof(command), 
42
  snprintf (command, sizeof(command), 
43
            "netscape -remote \"openURL(%s,new-window)\" || netscape \"%s\" &", url, url);
43
            "eval \"${BROWSER}\" \"%s\" || netscape -remote \"openURL(%s,new-window)\" || netscape \"%s\" &", url, url, url);
44
  return system(command) == 0;
44
  return system(command) == 0;
45
}
45
}
46
#endif
46
#endif

Return to bug 181372