Print this page
make: use the more modern wchar routines, not widec.h

@@ -1144,12 +1144,12 @@
         line->body.line.less = less;
 
         if (lmn_target->parenleft) {
                 Wstring lmn_string(lmn_target);
 
-                wchar_t *left = (wchar_t *) wschr(lmn_string.get_string(), (int) parenleft_char);
-                wchar_t *right = (wchar_t *) wschr(lmn_string.get_string(), (int) parenright_char);
+                wchar_t *left = (wchar_t *) wcschr(lmn_string.get_string(), (int) parenleft_char);
+                wchar_t *right = (wchar_t *) wcschr(lmn_string.get_string(), (int) parenright_char);
 
                 if ((left == NULL) || (right == NULL)) {
                         line->body.line.percent = NULL;
                 } else {
                         line->body.line.percent = GETNAME(left + 1, right - left - 1);