mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-15 10:07:39 -05:00
Add some more miscellaneous asserts.
These clarify matters for static checkers (not to mention humans), and seem inexpensive enough not to worry about adding.
This commit is contained in:
@ -1614,6 +1614,7 @@ static void pangofont_draw_internal(unifont_drawctx *ctx, unifont *font,
|
||||
draw_layout = pango_cairo_draw_layout;
|
||||
}
|
||||
#endif
|
||||
assert(draw_layout);
|
||||
|
||||
if (wide)
|
||||
cellwidth *= 2;
|
||||
|
Reference in New Issue
Block a user