[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.27 and 1.28

version 1.27, 2013/08/07 01:55:08 version 1.28, 2013/08/07 07:54:16
Line 738  BOOL CAsir32guiView::Create(LPCTSTR lpszClassName, LPC
Line 738  BOOL CAsir32guiView::Create(LPCTSTR lpszClassName, LPC
         if (get_rootdir(rootdir, BUFSIZ, errmsg)) {          if (get_rootdir(rootdir, BUFSIZ, errmsg)) {
                 sprintf(hndname, "%s\\bin\\asirgui.hnd", rootdir);                  sprintf(hndname, "%s\\bin\\asirgui.hnd", rootdir);
                 fp = fopen(hndname,"w");                  fp = fopen(hndname,"w");
         }                  if ( fp ) {
         if ( fp ) {  
                 fprintf(fp,"%d",(unsigned int)theView->m_hWnd);  
                 fclose(fp);  
                 if ( temp = getenv("TEMP") ) {  
                         size_t len;  
                         char *name;  
   
                         len = strlen(temp);  
                         name = (char *)malloc(len+BUFSIZ);  
                         sprintf(name,"%s\\asirgui.hnd",temp);  
                         fopen(name,"w");  
                         fprintf(fp,"%d",(unsigned int)theView->m_hWnd);                          fprintf(fp,"%d",(unsigned int)theView->m_hWnd);
                         fclose(fp);                          fclose(fp);
                   }
           }
           if ( temp = getenv("TEMP") ) {
                   sprintf(hndname,"%s\\asirgui.hnd", temp);
                   fp = fopen(hndname,"w");
                   if ( fp ) {
                           fprintf(fp,"%d",(unsigned int)theView->m_hWnd);
                           fclose(fp);
                 }                  }
         }          }
         return ret;          return ret;

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

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