~ubuntu-branches/ubuntu/dapper/groff/dapper

« back to all changes in this revision

Viewing changes to src/xditview/parse.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2002-03-17 04:11:50 UTC
  • Revision ID: james.westby@ubuntu.com-20020317041150-em69nkqd2qw26v96
Tags: 1.17.2-15.woody.1
* New Danish debconf translation (thanks, Rune B. Broberg;
  closes: #131092).
* New French debconf translation (thanks, Philippe Batailler;
  closes: #138515).

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
#include <stdio.h>
11
11
#include <ctype.h>
12
12
#include "DviP.h"
 
13
#include "encoding.h"
13
14
 
14
15
static int StopSeen = 0;
15
16
static ParseDrawFunction(), ParseDeviceControl();
62
63
                            break;
63
64
                        Buffer[0] = c;
64
65
                        Buffer[1] = '\0';
 
66
#if 0 /* def    NIPPON */
 
67
                        if (is_euc_byte(c)) {
 
68
                                DviGetC(dw,&c);
 
69
                                Buffer[1] = c;
 
70
                                Buffer[2] = '\0';
 
71
                        }
 
72
#endif
65
73
                        (void) PutCharacter (dw, Buffer);
66
74
                        break;
67
75
                case 'C':
73
81
                        while (DviGetC (dw, &c) != EOF
74
82
                               && c != ' ' && c != '\n') {
75
83
                                Buffer[0] = c;
 
84
#if 0 /* def    NIPPON */
 
85
                                if (is_euc_byte(c)) {
 
86
                                        DviGetC(dw,&c);
 
87
                                        Buffer[1] = c;
 
88
                                        Buffer[2] = '\0';
 
89
                                }
 
90
#endif
76
91
                                HorizontalMove (dw, PutCharacter (dw, Buffer));
77
92
                        }
78
93
                        break;