[BACK]Return to asir32guiview.cpp CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / windows / asir32gui

Diff for /OpenXM_contrib2/windows/asir32gui/asir32guiview.cpp between version 1.6 and 1.7

version 1.6, 2002/08/13 10:11:52 version 1.7, 2002/08/14 00:47:51
Line 568  void CAsir32guiView::OnUpdateContribhelp(CCmdUI* pCmdU
Line 568  void CAsir32guiView::OnUpdateContribhelp(CCmdUI* pCmdU
         // TODO: この位置に command update UI ハンドラ用のコードを追加してください          // TODO: この位置に command update UI ハンドラ用のコードを追加してください
         char root[BUFSIZ],errmsg[BUFSIZ],helpfile[BUFSIZ];          char root[BUFSIZ],errmsg[BUFSIZ],helpfile[BUFSIZ];
   
         get_rootdir(root,sizeof(root),errmsg);          if ( getenv("OpenXM_WIN_ROOT") ) {
         sprintf(helpfile,"%s\\bin\\cmanhelp.chm",root);                  get_rootdir(root,sizeof(root),errmsg);
         if ( _access(helpfile,04) != -1 )                  sprintf(helpfile,"%s\\bin\\cmanhelp.chm",root);
                 pCmdUI->Enable( TRUE );                  if ( _access(helpfile,04) != -1 ) {
         else                          pCmdUI->Enable( TRUE );
                 pCmdUI->Enable( FALSE );                          return;
                   }
           }
           pCmdUI->Enable( FALSE );
 }  }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>