X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCounters.cpp;h=d38bd5d86854cdaa012004b0c4776077305fde27;hb=38a3692a0fce8b0531cef794a08d179e9e33ac33;hp=20654b7e8e5340830387be39aec386a2a915325b;hpb=f630be890494c849981e4fb52ea4740506e92bed;p=lyx.git diff --git a/src/Counters.cpp b/src/Counters.cpp index 20654b7e8e..d38bd5d868 100644 --- a/src/Counters.cpp +++ b/src/Counters.cpp @@ -231,9 +231,9 @@ char alphaCounter(int const n) char hebrewCounter(int const n) { static const char hebrew[22] = { - 'à', 'á', 'â', 'ã', 'ä', 'å', 'æ', 'ç', 'è', - 'é', 'ë', 'ì', 'î', 'ð', 'ñ', 'ò', 'ô', 'ö', - '÷', 'ø', 'ù', 'ú' + '\xe0', '\xe1', '\xe2', '\xe3', '\xe4', '\xe5', '\xe6', '\xe7', '\xe8', + '\xe9', '\xeb', '\xec', '\xee', '\xf0', '\xf1', '\xf2', '\xf4', '\xf6', + '\xf7', '\xf8', '\xf9', '\xfa' }; if (n < 1 || n > 22) @@ -326,7 +326,7 @@ docstring Counters::counterLabel(docstring const & format) docstring const numbertype(label, i + 1, j - i - 1); docstring const counter(label, j + 1, k - j - 1); docstring const rep = labelItem(counter, numbertype); - label = docstring(label, 0, i) + rep + label = docstring(label, 0, i) + rep + docstring(label, k + 1, docstring::npos); //lyxerr << " : " << " (" << counter << "," // << numbertype << ") -> " << label << endl;