summaryrefslogtreecommitdiffstats
path: root/kdvi/TeXFont_PK.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdvi/TeXFont_PK.cpp')
-rw-r--r--kdvi/TeXFont_PK.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdvi/TeXFont_PK.cpp b/kdvi/TeXFont_PK.cpp
index 87d7de86..f84375cc 100644
--- a/kdvi/TeXFont_PK.cpp
+++ b/kdvi/TeXFont_PK.cpp
@@ -428,7 +428,7 @@ void TeXFont_PK::PK_skip_specials()
#endif
int i,j;
- register FILE *fp = file;
+ FILE *fp = file;
#ifdef DEBUG_PK
if (fp == 0)
@@ -478,8 +478,8 @@ void TeXFont_PK::read_PK_char(unsigned int ch)
int row_bit_pos;
bool paint_switch;
TQ_UINT32 *cp;
- register struct glyph *g;
- register FILE *fp = file;
+ struct glyph *g;
+ FILE *fp = file;
long fpwidth;
TQ_UINT32 word = 0;
int word_weight, bytes_wide;
@@ -533,7 +533,7 @@ void TeXFont_PK::read_PK_char(unsigned int ch)
{
/* width must be multiple of 16 bits for raster_op */
characterBitmaps[ch]->bytes_wide = ROUNDUP((int) characterBitmaps[ch]->w, 32) * 4;
- register unsigned int size = characterBitmaps[ch]->bytes_wide * characterBitmaps[ch]->h;
+ unsigned int size = characterBitmaps[ch]->bytes_wide * characterBitmaps[ch]->h;
characterBitmaps[ch]->bits = new char[size != 0 ? size : 1];
}
@@ -634,8 +634,8 @@ void TeXFont_PK::read_PK_char(unsigned int ch)
// The data in the bitmap is now in the processor's bit order,
// that is, big endian. Since XWindows needs little endian, we
// need to change the bit order now.
- register unsigned char* bitmapData = (unsigned char*) characterBitmaps[ch]->bits;
- register unsigned char* endOfData = bitmapData + characterBitmaps[ch]->bytes_wide*characterBitmaps[ch]->h;
+ unsigned char* bitmapData = (unsigned char*) characterBitmaps[ch]->bits;
+ unsigned char* endOfData = bitmapData + characterBitmaps[ch]->bytes_wide*characterBitmaps[ch]->h;
while(bitmapData < endOfData) {
*bitmapData = bitflip[*bitmapData];
bitmapData++;