Fix problems with characters < 256 in wide character locales. (Patch from
Tue Feb 13 13:56:58 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktext.c (find_char_width): Fix problems with characters < 256 in wide character locales. (Patch from Yoichi Imai.)
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
Tue Feb 13 13:56:58 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix problems with
|
||||
characters < 256 in wide character locales. (Patch
|
||||
from Yoichi Imai.)
|
||||
|
||||
Tue Feb 13 00:58:49 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c: Properly handle passive buttons at
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Feb 13 13:56:58 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix problems with
|
||||
characters < 256 in wide character locales. (Patch
|
||||
from Yoichi Imai.)
|
||||
|
||||
Tue Feb 13 00:58:49 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c: Properly handle passive buttons at
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Feb 13 13:56:58 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix problems with
|
||||
characters < 256 in wide character locales. (Patch
|
||||
from Yoichi Imai.)
|
||||
|
||||
Tue Feb 13 00:58:49 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c: Properly handle passive buttons at
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Feb 13 13:56:58 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix problems with
|
||||
characters < 256 in wide character locales. (Patch
|
||||
from Yoichi Imai.)
|
||||
|
||||
Tue Feb 13 00:58:49 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c: Properly handle passive buttons at
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Feb 13 13:56:58 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix problems with
|
||||
characters < 256 in wide character locales. (Patch
|
||||
from Yoichi Imai.)
|
||||
|
||||
Tue Feb 13 00:58:49 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c: Properly handle passive buttons at
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Feb 13 13:56:58 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix problems with
|
||||
characters < 256 in wide character locales. (Patch
|
||||
from Yoichi Imai.)
|
||||
|
||||
Tue Feb 13 00:58:49 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c: Properly handle passive buttons at
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Feb 13 13:56:58 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix problems with
|
||||
characters < 256 in wide character locales. (Patch
|
||||
from Yoichi Imai.)
|
||||
|
||||
Tue Feb 13 00:58:49 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c: Properly handle passive buttons at
|
||||
|
||||
@@ -3700,7 +3700,7 @@ find_char_width (GtkText* text, const GtkPropertyMark *mark, const TabStopMark *
|
||||
{
|
||||
return tab_mark->to_next_tab * char_widths[' '];
|
||||
}
|
||||
else if (ch < 256)
|
||||
else if (!text->use_wchar)
|
||||
{
|
||||
return char_widths[ch];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user