Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > by-pkgid > bd86728927898a0b4dd6bc6deffb56ad > files > 4

imview-1.1.8-8mdv2010.1.src.rpm

*** menucb.cxx.orig	2005-09-20 14:29:07.000000000 +0200
--- menucb.cxx	2005-09-20 14:31:59.000000000 +0200
***************
*** 968,982 ****
      static char command[1024];
  
      sprintf(command,
! 	    "netscape -remote openURL\\(%s,new-window\\)", HELPURL);
      int ret = system((const char *)command);
      if (ret != 0) {
! 	// try calling netscape directly!
! 	sprintf(command,
! 		"netscape %s &", HELPURL);
! 	ret = system((const char *)command);
! 	if (ret != 0)
! 	    errprintf("Sorry, can't start netscape\n"
  		      "Help URL is:\n"
  		      "%s",
  		      HELPURL);
--- 968,977 ----
      static char command[1024];
  
      sprintf(command,
! 	    "www-browser %s &", HELPURL);
      int ret = system((const char *)command);
      if (ret != 0) {
! 	    errprintf("Sorry, can't start your brower\n"
  		      "Help URL is:\n"
  		      "%s",
  		      HELPURL);