Hello.

Per Jessen wrote:
> attached is a patch for the \P on the keystroke
> config option not working with the unicode keyboard 
It's a very late night here
and I have looked neither in
the code nor in the problem,
but somehow it happened that
I don't like your patch (sorry).
I'll have a look tomorrow but
for now please check if the
attached patch fixes your
problem.
--- src/plugin/translate/unicode_utils.c        Sun Jun 16 18:30:20 2002
+++ src/plugin/translate/unicode_utils.c        Sun Aug  4 05:27:50 2002
@@ -97,7 +97,7 @@
        sign = 1;
        result = 0;
 
-       if ((base < 2) || (base > 36)) {
+       if (base && ((base < 2) || (base > 36))) {
                if (endptr) {
                        *endptr = (t_unicode *)ptr;
                }


Reply via email to