Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 24. október 2026

Rozdiely pre cpdf/cpdf.c medzi verziami 1.14 a 1.15

verzia 1.14, 2002/12/23 02:40:05 verzia 1.15, 2003/02/11 20:10:30
Riadok 7 
Riadok 7 
 #include <unistd.h>  #include <unistd.h>
 #include <fcntl.h>  #include <fcntl.h>
 #include <getopt.h>  #include <getopt.h>
   #include <mcheck.h>
   
 #include "parse.h"  #include "parse.h"
 #include "cpdf.h"  #include "cpdf.h"
 #include "svga.h"  #include "svga.h"
   
 /* $Platon: cpdf/cpdf.c,v 1.13 2002/12/19 00:16:44 lynx Exp $ */  /* $Platon: cpdf/cpdf.c,v 1.14 2002/12/23 02:40:05 lynx Exp $ */
 static struct option lopt[] = {  static struct option lopt[] = {
   
         {"mode", required_argument, 0, 'm'},          {"mode", required_argument, 0, 'm'},
Riadok 90  int main(int argc, char **argv)
Riadok 91  int main(int argc, char **argv)
                 char *i;                  char *i;
                 i = vga_getmodename(mode) + 1;                  i = vga_getmodename(mode) + 1;
                 screen.x = (int) strtoul(i, NULL, 10);                  screen.x = (int) strtoul(i, NULL, 10);
                 i = (char *) memchr(i, 'x', sizeof(G1280x1024x16M32)) + 1;                  i = (char *) strchr(i, 'x') + 1;
                 screen.y = (int) strtoul(i, NULL, 10);                  screen.y = (int) strtoul(i, NULL, 10);
                 i = (char *) memchr(i, 'x', sizeof(G1280x1024x16M32)) + 1;                  i = (char *) strchr(i, 'x') + 1;
                 if (*i == '2' && *(i + 1) == '\0')                  if (*i == '2' && *(i + 1) == '\0')
                         screen.color = 2;                          screen.color = 2;
                 if (*i == '1' && *(i + 1) == '6' && *(i + 2) == '\0')                  if (*i == '1' && *(i + 1) == '6' && *(i + 2) == '\0')
Riadok 117  int main(int argc, char **argv)
Riadok 118  int main(int argc, char **argv)
   
 void loop(void)  void loop(void)
 {  {
         while (1) {          while (page_tree[current_page]) {
                 render();                  render();
                 switch (getchar()) {                  current_page++;
                 case 32:  
                         return;  
                         continue;  
                 }  
         }          }
         return;          return;
 }  }

Legend:
Odstranené z verzie1.14  
zmenené riadky
  Pridané vo verzii1.15

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok