From 3877686c7617f1baa2c774ce3ce298a541cb942f Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 13 Jun 2008 20:14:56 +0000 Subject: [PATCH] Fix ubconfc The current code doesn't seem to be what was used to generate WCsubst.c, so I'm not sure if it never worked, or if my tools work slightly differently to those of the previous user. --- cbits/ubconfc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cbits/ubconfc b/cbits/ubconfc index cf0967c..47637a9 100644 --- a/cbits/ubconfc +++ b/cbits/ubconfc @@ -153,8 +153,8 @@ function dumpblock() updist=up-self lowdist=low-self titledist=title-self - rule="GENCAT_"cat", NUMCAT_"cat", "((convpos==1)? - ("1, " updist ", " lowdist ", " titledist): + rule="GENCAT_"cat", NUMCAT_"cat", "((convpos==1)? \ + ("1, " updist ", " lowdist ", " titledist): \ ("0, 0, 0, 0")) if(cats[cat]=="") { @@ -329,7 +329,7 @@ int p(int c) \\ { \\ const struct _convrule_ *rule=getrule(convchars,NUM_CONVBLOCKS,c);\\ if(rule==&nullrule) return c;\\ - return c+rule->##to;\\ + return c+rule->to;\\ } caseconv(u_towupper,updist) -- 1.7.10.4