patch: one-liner fix-up for UnixPS printing


Subject: patch: one-liner fix-up for UnixPS printing
From: WJCarpenter (bill-abisource@carpenter.ORG)
Date: Mon Jul 10 2000 - 19:48:26 CDT


The attached patch, against 071000 sources, is a one-line fix for an
error in the UnixPSGraphics rendering of characters in conjunction
with remapGlyphs. Just one of those programmer ("me") things... :-(.

-- 
bill@carpenter.ORG (WJCarpenter)    PGP 0x91865119
38 95 1B 69 C9 C6 3D 25    73 46 32 04 69 D6 ED F3

diff -ru abi-071000-ORIG/src/af/xap/unix/xap_UnixPSGraphics.cpp abi-071000/src/af/xap/unix/xap_UnixPSGraphics.cpp --- abi-071000-ORIG/src/af/xap/unix/xap_UnixPSGraphics.cpp Fri Jul 7 16:46:48 2000 +++ abi-071000/src/af/xap/unix/xap_UnixPSGraphics.cpp Mon Jul 10 16:52:50 2000 @@ -345,7 +341,7 @@ // TODO deal with Unicode issues. - currentChar = remapGlyph(*pS, currentChar >= 256 ? UT_TRUE : UT_FALSE); + currentChar = remapGlyph(*pS, *pS >= 256 ? UT_TRUE : UT_FALSE); switch (currentChar) { case 0x08: *pD++ = '\\'; *pD++ = 'b'; break;



This archive was generated by hypermail 2b25 : Mon Jul 10 2000 - 19:50:33 CDT