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

Diff for cpdf/svga.c between version 1.1 and 1.2

version 1.1, 2002/10/20 14:07:23 version 1.2, 2002/11/10 16:58:30
Line 4 
Line 4 
 #include <vga.h>  #include <vga.h>
 #include <vgagl.h>  #include <vgagl.h>
   
 #include "parse.c"  #include "parse.h"
   #include "cpdf.h"
   #include "filter.h"
   
 void render(int pagenum)  void render(void)
 {  {
 fill_page(pagenum);          char *content,*txt;
 return;          struct page *page;
           fill_page(page_tree[current_page]);
           page = object[page_tree[current_page]]->parsed;
           content = (char *) calloc(page->contents->length << 2,1);
           gl_setfont(8, 8, gl_font8x8);
           gl_setwritemode(FONT_COMPRESSED + WRITEMODE_OVERWRITE);
           gl_setfontcolors(0, vga_white());
           filter(page->contents->filter,page->contents->stream,
                   page->contents->length,content,page->contents->length << 2);
           txt = content = strstr(content,"(");
   /*      while(content) {
                   while(*txt != ')') txt++;*/
                   gl_write(300,400,"Test test test ToTo je t3st\0");
                   txt = content = strstr(content + 1,"(");
                   gl_copyscreen(physicalscreen);
   /*      }*/
           pause();
           exit(0);
 }  }

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