Commit 2d20eee3 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(pitx) Fix last change.

parent 5b28ce35
......@@ -222,7 +222,8 @@ define pitx
if ($it->sp != 0)
printf " sp=%d", $it->sp
end
if ($it->what == 0) # IT_CHARACTER
# IT_CHARACTER
if ($it->what == 0)
if ($it->len == 1 && $it->c >= ' ' && it->c < 255)
printf " ch='%c'", $it->c
else
......@@ -256,13 +257,16 @@ define pitx
output $it->what
end
end
if ($it->method != 0) # GET_FROM_BUFFER
if ($it->method != 0)
# !GET_FROM_BUFFER
printf " next="
pitmethod $it->method
if ($it->method == 2) # GET_FROM_STRING
if ($it->method == 2)
# GET_FROM_STRING
printf "[%d]", $it->current.string_pos.charpos
end
if ($it->method == 4) # GET_FROM_IMAGE
if ($it->method == 4)
# GET_FROM_IMAGE
printf "[%d]", $it->image_id
end
end
......
......@@ -2,6 +2,7 @@
* .gdbinit (pgx): Fix display of composite glyphs. Display
cmp.from and cmp.to as well.
(pitx) Fix last change.
2009-12-19 Eli Zaretskii <eliz@gnu.org>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment