Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for libplaton/platon/html/Attic/convert.c between version 1.1 and 1.2

version 1.1, 2001/10/05 13:42:11 version 1.2, 2001/10/05 18:14:54
Line 2 
Line 2 
 #include<stdlib.h>  #include<stdlib.h>
 #include<string.h>  #include<string.h>
   
 #inclue "convert.h"  #include "convert.h"
   
   
 /*                        ",,::~~~~,,~~,,,,~~~~,,~~::,,~~,,~~,,::oo,,~~"  */  /*                        ",,::~~~~,,~~,,,,~~~~,,~~::,,~~,,~~,,::oo,,~~"  */
Line 22  void html_convert(char *buf) {
Line 22  void html_convert(char *buf) {
         register int i = 0;          register int i = 0;
   
         while (buf[i] != '\0') {          while (buf[i] != '\0') {
                 if (strchr(t_cp1250, buf[i]) != NULL)                  if (strchr(html_t_cp1250, buf[i]) != NULL)
                         buf[i] = t_ascii[(int) (strchr(t_cp1250, buf[i]) - t_cp1250)];                          buf[i] = html_t_ascii[
                                   (int) (strchr(html_t_cp1250, buf[i]) - html_t_cp1250)
                                   ];
   
                 i++;                  i++;
         }          }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top