mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Fixed some problems with !gtk_use_mb introduced in the last change.
Sun Mar 22 23:33:50 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkentry.c (gtk_entry_insert_text): Fixed some problems with !gtk_use_mb introduced in the last change.
This commit is contained in:
parent
03a7c4551b
commit
f0f650948a
@ -1,3 +1,8 @@
|
||||
Sun Mar 22 23:33:50 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_insert_text): Fixed some
|
||||
problems with !gtk_use_mb introduced in the last change.
|
||||
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 22 23:33:50 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_insert_text): Fixed some
|
||||
problems with !gtk_use_mb introduced in the last change.
|
||||
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 22 23:33:50 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_insert_text): Fixed some
|
||||
problems with !gtk_use_mb introduced in the last change.
|
||||
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 22 23:33:50 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_insert_text): Fixed some
|
||||
problems with !gtk_use_mb introduced in the last change.
|
||||
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 22 23:33:50 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_insert_text): Fixed some
|
||||
problems with !gtk_use_mb introduced in the last change.
|
||||
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 22 23:33:50 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_insert_text): Fixed some
|
||||
problems with !gtk_use_mb introduced in the last change.
|
||||
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Mar 22 23:33:50 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_insert_text): Fixed some
|
||||
problems with !gtk_use_mb introduced in the last change.
|
||||
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
@ -1450,7 +1450,7 @@ gtk_entry_insert_text (GtkEditable *editable,
|
||||
gint i;
|
||||
|
||||
gint insertion_chars;
|
||||
guint16 *insertion_pos;
|
||||
guint16 *insertion_pos = NULL; /* Quiet the compiler */
|
||||
|
||||
GtkEntry *entry;
|
||||
|
||||
@ -1501,6 +1501,8 @@ gtk_entry_insert_text (GtkEditable *editable,
|
||||
|
||||
new_text_length = i;
|
||||
}
|
||||
else
|
||||
insertion_chars = new_text_length;
|
||||
|
||||
/* Make sure we are inserting at integral character position */
|
||||
start_char = gtk_entry_find_char (entry, *position);
|
||||
@ -1545,7 +1547,7 @@ gtk_entry_insert_text (GtkEditable *editable,
|
||||
end_char = end_pos;
|
||||
last_char = last_pos;
|
||||
|
||||
for (i = end_char ; i <= last_char ; i++)
|
||||
for (i = start_char ; i <= last_char ; i++)
|
||||
entry->char_pos[i] = i;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user