Diff for /Amaya/amaya/init.c between versions 1.618 and 1.619

version 1.618, 2001/06/19 13:09:28 version 1.619, 2001/06/19 16:27:56
Line 1477  void InitCharset (Document document, Vie Line 1477  void InitCharset (Document document, Vie
   ----------------------------------------------------------------------*/    ----------------------------------------------------------------------*/
 void InitMimeType (Document document, View view, char *url)  void InitMimeType (Document document, View view, char *url)
 {  {
 #ifndef _WINDOWS  
    char *mimetypes_list;     char *mimetypes_list;
    int nbmimetypes;     int nbmimetypes;
    if (DocumentTypes[document] == docImage)     if (DocumentTypes[document] == docImage)
Line 1504  void InitMimeType (Document document, Vi Line 1503  void InitMimeType (Document document, Vi
        nbmimetypes = 5;         nbmimetypes = 5;
      }       }
   
   #ifndef _WINDOWS
    TtaNewForm (BaseDialog + MimeTypeForm, TtaGetViewFrame (document, view),     TtaNewForm (BaseDialog + MimeTypeForm, TtaGetViewFrame (document, view),
                "MIME type query", FALSE, 4, 'L', D_CANCEL);                 "MIME type query", FALSE, 4, 'L', D_CANCEL);
    TtaNewLabel (BaseDialog + MimeTypeFormL1, BaseDialog + MimeTypeForm,     TtaNewLabel (BaseDialog + MimeTypeFormL1, BaseDialog + MimeTypeForm,
Line 1523  void InitMimeType (Document document, Vi Line 1523  void InitMimeType (Document document, Vi
    TtaShowDialogue (BaseDialog + MimeTypeForm, FALSE);     TtaShowDialogue (BaseDialog + MimeTypeForm, FALSE);
    /* wait for an answer */     /* wait for an answer */
    TtaWaitShowDialogue ();     TtaWaitShowDialogue ();
   #else
      CreateMimeTypeDlgWindow (TtaGetViewFrame (document, view), nbmimetypes,
                                   mimetypes_list);
 #endif /* _WINDOWS */  #endif /* _WINDOWS */
 }  }
   

Removed from v.1.618  
changed lines
  Added in v.1.619


Webmaster