public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Stas Sergeev <stssppnn@yahoo.com>
To: linux-msdos@vger.kernel.org
Subject: Re: [PATCH][1.1.3.2] keystroke - option P not working (unicode keyboard)
Date: Sun, 04 Aug 2002 05:37:26 +0400	[thread overview]
Message-ID: <3D4C8556.8060500@yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

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.

[-- Attachment #2: strtol.diff --]
[-- Type: text/plain, Size: 312 bytes --]

--- 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	other threads:[~2002-08-04  1:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-04  1:37 Stas Sergeev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-04 11:59 [PATCH][1.1.3.2] keystroke - option P not working (unicode keyboard) Stas Sergeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D4C8556.8060500@yahoo.com \
    --to=stssppnn@yahoo.com \
    --cc=linux-msdos@vger.kernel.org \
    --cc=stas.orel@mailcity.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox