From 6798c9b9e9776272dc0ed5db4ca3497de85a950f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 3 Jul 2009 21:25:19 +0100 Subject: [PATCH] Make charset approval work again --- pctb/dictionary-manager | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pctb/dictionary-manager b/pctb/dictionary-manager index 911cb63..10218e0 100755 --- a/pctb/dictionary-manager +++ b/pctb/dictionary-manager @@ -568,7 +568,7 @@ proc maybe_upload_entry {im def} { if {!$quiet} { puts stderr \ - "Uploaded $dbname dictionary entry `$def': $body" + "Uploaded $dbname `$def': $body" } } @@ -889,7 +889,8 @@ set database_magic/char {# ypp-sc-tools pctb font v1} proc read_database_header/char {f} { global rows - if {([db_getsl $f])+0 != $rows} { error "wrong h ?" } + set l [db_getsl $f] + if {$l+0 != $rows} { error "wrong h $l $rows ?" } } proc read_database_entry/char {f context} { global database @@ -1102,7 +1103,7 @@ proc dict2_reqkind_rows {dict} { debug "DICT PIXMAP" } elseif {[regexp {^(char)([1-9]\d*)$} $dict dummy reqkind rows]} { debug "DICT CHAR rqk=$reqkind r=$rows." - return [list $reqkind rows] + return [list $reqkind $rows] } else { error "$dict ?" } -- 2.30.2