Diff for /rpl/src/interface_tex.c between versions 1.65 and 1.77

version 1.65, 2017/06/28 09:20:37 version 1.77, 2023/08/07 17:42:59
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.27    RPL/2 (R) version 4.1.35
   Copyright (C) 1989-2017 Dr. BERTRAND Joël    Copyright (C) 1989-2023 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
Line 1562  formateur_elementaire_tex(struct_process Line 1562  formateur_elementaire_tex(struct_process
   
                                 if (niveau == 0)                                  if (niveau == 0)
                                 {                                  {
                                     sprintf((unsigned char *) (*s_sous_objet_1)                                      memmove(((unsigned char *) (*s_sous_objet_1)
                                             .objet, "%s", &(((unsigned char *)                                               .objet), ((unsigned char *)
                                             (*s_sous_objet_1).objet)[1]));                                              (*s_sous_objet_1).objet) + 1,
                                     ((unsigned char *) (*s_sous_objet_1).objet)                                              strlen((unsigned char *)
                                             [strlen((unsigned char *)                                              (*s_sous_objet_1).objet));
                                             (*s_sous_objet_1).objet) - 1] =  
                                             d_code_fin_chaine;  
                                 }                                  }
                             }                              }
   
Line 2193  correction_formateur_tex(struct_processu Line 2191  correction_formateur_tex(struct_processu
              */               */
   
             case '#' :              case '#' :
   #           if __GNUC__ >= 7
               __attribute__ ((fallthrough));
   #           endif
   
             case '_' :              case '_' :
             {              {
                 if (mode_mathematique == d_vrai)                  if (mode_mathematique == d_vrai)
                 {                  {
                     break;                      break;
                 }                  }
   #           if __GNUC__ >= 7
               __attribute__ ((fallthrough));
   #           endif
             }              }
   
             case '%' :              case '%' :
   #           if __GNUC__ >= 7
               __attribute__ ((fallthrough));
   #           endif
             case '&' :              case '&' :
             {              {
                 if ((tampon = (unsigned char *) malloc((strlen((*ligne)) + 2) *                  if ((tampon = (unsigned char *) malloc((strlen((*ligne)) + 2) *

Removed from v.1.65  
changed lines
  Added in v.1.77


CVSweb interface <joel.bertrand@systella.fr>