Changeset 97b6d9 in git


Ignore:
Timestamp:
Aug 25, 1999, 11:03:33 AM (25 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
49c4ae487456c566424b674a5f7ec21c8ce0da19
Parents:
e113e310d3728921525ca3d0bbf8dee2aa51174c
Message:
* only display message about help for first time.


git-svn-id: file:///usr/local/Singular/svn/trunk@3544 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/fehelp.cc

    re113e3 r97b6d9  
    629629 *****************************************************************/
    630630
     631static BOOLEAN feHelpCalled = FALSE;
     632
    631633static void heBrowserHelp(heEntry hentry)
    632634{
     
    637639    return;
    638640
    639   if (heCurrentHelpBrowser == NULL)
    640   {
    641     feHelpBrowser();
    642     assume(heCurrentHelpBrowser != NULL);
     641  if (heCurrentHelpBrowser == NULL) feHelpBrowser();
     642  assume(heCurrentHelpBrowser != NULL);
     643  if (! feHelpCalled)
     644  {
    643645    Warn("Displaying help in browser '%s'.", heCurrentHelpBrowser->browser);
    644646    Warn("Use 'system(\"--browser\", \"<browser>\");' to change browser");
    645647    Warn("Use 'system(\"browsers\");'               for available browsers");
     648    feHelpCalled = TRUE;
    646649  }
    647650  heCurrentHelpBrowser->help_proc(hentry);
Note: See TracChangeset for help on using the changeset viewer.