Fix from gtk-1-2: Tue Feb 13 13:56:58 2001 Owen Taylor
2002-09-21 Tor Lillqvist <tml@iki.fi> * gtk/gtktext.c (find_char_width): Fix from gtk-1-2: Tue Feb 13 13:56:58 2001 Owen Taylor <otaylor@redhat.com> Fix problems with characters < 256 in wide character locales. (Patch from Yoichi Imai.)
This commit is contained in:
committed by
Tor Lillqvist
parent
ad0fd37b31
commit
f86b1a57fe
@@ -1,3 +1,10 @@
|
||||
2002-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix from gtk-1-2: Tue Feb 13
|
||||
13:56:58 2001 Owen Taylor <otaylor@redhat.com> Fix problems with
|
||||
characters < 256 in wide character locales. (Patch from Yoichi
|
||||
Imai.)
|
||||
|
||||
2002-09-05 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix typo,
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2002-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix from gtk-1-2: Tue Feb 13
|
||||
13:56:58 2001 Owen Taylor <otaylor@redhat.com> Fix problems with
|
||||
characters < 256 in wide character locales. (Patch from Yoichi
|
||||
Imai.)
|
||||
|
||||
2002-09-05 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix typo,
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2002-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix from gtk-1-2: Tue Feb 13
|
||||
13:56:58 2001 Owen Taylor <otaylor@redhat.com> Fix problems with
|
||||
characters < 256 in wide character locales. (Patch from Yoichi
|
||||
Imai.)
|
||||
|
||||
2002-09-05 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix typo,
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2002-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix from gtk-1-2: Tue Feb 13
|
||||
13:56:58 2001 Owen Taylor <otaylor@redhat.com> Fix problems with
|
||||
characters < 256 in wide character locales. (Patch from Yoichi
|
||||
Imai.)
|
||||
|
||||
2002-09-05 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix typo,
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2002-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix from gtk-1-2: Tue Feb 13
|
||||
13:56:58 2001 Owen Taylor <otaylor@redhat.com> Fix problems with
|
||||
characters < 256 in wide character locales. (Patch from Yoichi
|
||||
Imai.)
|
||||
|
||||
2002-09-05 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix typo,
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2002-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk/gtktext.c (find_char_width): Fix from gtk-1-2: Tue Feb 13
|
||||
13:56:58 2001 Owen Taylor <otaylor@redhat.com> Fix problems with
|
||||
characters < 256 in wide character locales. (Patch from Yoichi
|
||||
Imai.)
|
||||
|
||||
2002-09-05 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix typo,
|
||||
|
||||
@@ -3683,7 +3683,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