Amiga: fix three latent bugs found in code review
amiv_lprint_glyph used uninitialized 'base'; amii_clear_nhwindow compared cw->type to a winid; amii_sethipens fell through.
This commit is contained in:
+1
-1
@@ -563,7 +563,7 @@ amiv_flush_glyph_buffer(struct Window *vw)
|
||||
void
|
||||
amiv_lprint_glyph(winid window, int color_index, int glyph)
|
||||
{
|
||||
int base;
|
||||
int base = 0;
|
||||
struct amii_WinDesc *cw;
|
||||
struct Window *w;
|
||||
int curx;
|
||||
|
||||
Reference in New Issue
Block a user