updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rtfreader / rtfreader-hex.diff
blob52184d8c4beb3339906e18c90cec1c1ef41ab9e4
1 --- rtfreadr.c~ 2010-01-19 10:26:07.000000000 -0600
2 +++ rtfreadr.c 2010-01-19 10:26:11.000000000 -0600
3 @@ -107,13 +107,13 @@
5 if (ch < 'a' || ch > 'f')
6 return ecInvalidHex;
7 - b += (char) ch - 'a';
8 + b += (char) ch - 'a'+10;
10 else
12 if (ch < 'A' || ch > 'F')
13 return ecInvalidHex;
14 - b += (char) ch - 'A';
15 + b += (char) ch - 'A'+10;
18 cNibble--;